home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / A / 007.FracApp.cpt / UFracApp.inc1.p < prev    next >
MacBinary  |  1988-08-01  |  96.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: UFracApp.inc1.p

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert ZX81 Sinclair BASIC (image/sinclairBASIC) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Aug 1 17:07:00 1988, modified Mon Aug 1 17:07:00 1988, creator 'MPS ', type ASCII, 97830 bytes "UFracApp.inc1.p" , at 0x17ea6 448 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 55 46 72 61 63 41 | 70 70 2e 69 6e 63 31 2e |..UFracA|pp.inc1.|
|00000010| 70 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |p.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 01 7e 26 00 | 00 01 c0 9f 1a 8d f4 9f |.....~&.|........|
|00000060| 1a 8d f4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e1 f5 00 00 |........|........|
|00000080| 7b 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |{-------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000000d0| 23 0d 23 09 41 70 70 6c | 65 20 4d 61 63 69 6e 74 |#.#.Appl|e Macint|
|000000e0| 6f 73 68 20 44 65 76 65 | 6c 6f 70 65 72 20 54 65 |osh Deve|loper Te|
|000000f0| 63 68 6e 69 63 61 6c 20 | 53 75 70 70 6f 72 74 0d |chnical |Support.|
|00000100| 23 0d 23 09 4d 61 63 41 | 70 70 20 43 6f 6c 6f 72 |#.#.MacA|pp Color|
|00000110| 20 51 75 69 63 6b 44 72 | 61 77 20 46 72 61 63 74 | QuickDr|aw Fract|
|00000120| 61 6c 20 53 61 6d 70 6c | 65 20 41 70 70 6c 69 63 |al Sampl|e Applic|
|00000130| 61 74 69 6f 6e 0d 23 0d | 23 09 46 72 61 63 41 70 |ation.#.|#.FracAp|
|00000140| 70 0d 23 0d 23 09 55 46 | 72 61 63 41 70 70 2e 69 |p.#.#.UF|racApp.i|
|00000150| 6e 63 31 2e 70 09 2d 09 | 50 61 73 63 61 6c 20 53 |nc1.p.-.|Pascal S|
|00000160| 6f 75 72 63 65 0d 23 0d | 23 09 43 6f 70 79 72 69 |ource.#.|#.Copyri|
|00000170| 67 68 74 20 a9 20 31 39 | 38 38 20 41 70 70 6c 65 |ght . 19|88 Apple|
|00000180| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..|
|00000190| 23 09 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 |#.All ri|ghts res|
|000001a0| 65 72 76 65 64 2e 0d 23 | 0d 23 09 56 65 72 73 69 |erved..#|.#.Versi|
|000001b0| 6f 6e 73 3a 09 31 2e 30 | 09 09 09 09 09 38 2f 38 |ons:.1.0|.....8/8|
|000001c0| 38 0d 23 0d 23 09 43 6f | 6d 70 6f 6e 65 6e 74 73 |8.#.#.Co|mponents|
|000001d0| 3a 09 4d 46 72 61 63 41 | 70 70 2e 70 09 09 09 41 |:.MFracA|pp.p...A|
|000001e0| 75 67 75 73 74 20 31 2c | 20 31 39 38 38 0d 23 09 |ugust 1,| 1988.#.|
|000001f0| 09 09 09 55 46 72 61 63 | 41 70 70 2e 70 09 09 09 |...UFrac|App.p...|
|00000200| 41 75 67 75 73 74 20 31 | 2c 20 31 39 38 38 0d 23 |August 1|, 1988.#|
|00000210| 09 09 09 09 55 46 72 61 | 63 41 70 70 2e 69 6e 63 |....UFra|cApp.inc|
|00000220| 31 2e 70 09 09 41 75 67 | 75 73 74 20 31 2c 20 31 |1.p..Aug|ust 1, 1|
|00000230| 39 38 38 0d 23 09 09 09 | 09 46 72 61 63 41 70 70 |988.#...|.FracApp|
|00000240| 2e 72 09 09 09 41 75 67 | 75 73 74 20 31 2c 20 31 |.r...Aug|ust 1, 1|
|00000250| 39 38 38 0d 23 09 09 09 | 09 46 72 61 63 41 70 70 |988.#...|.FracApp|
|00000260| 2e 6d 61 6b 65 09 09 41 | 75 67 75 73 74 20 31 2c |.make..A|ugust 1,|
|00000270| 20 31 39 38 38 0d 23 0d | 23 09 54 68 69 73 20 69 | 1988.#.|#.This i|
|00000280| 73 20 61 20 70 72 6f 67 | 72 61 6d 20 74 6f 20 63 |s a prog|ram to c|
|00000290| 61 6c 63 75 6c 61 74 65 | 20 74 68 65 20 4d 61 6e |alculate| the Man|
|000002a0| 64 65 6c 62 72 6f 74 20 | 73 65 74 2c 20 61 6c 6c |delbrot |set, all|
|000002b0| 6f 77 69 6e 67 20 79 6f | 75 20 74 6f 20 7a 6f 6f |owing yo|u to zoo|
|000002c0| 6d 20 69 6e 20 6f 6e 20 | 61 72 65 61 73 0d 23 09 |m in on |areas.#.|
|000002d0| 74 68 61 74 20 61 72 65 | 20 73 65 6c 65 63 74 65 |that are| selecte|
|000002e0| 64 20 77 69 74 68 20 74 | 68 65 20 6d 6f 75 73 65 |d with t|he mouse|
|000002f0| 2e 20 20 54 68 65 72 65 | 20 61 72 65 20 73 6f 6d |. There| are som|
|00000300| 65 20 73 70 65 63 69 61 | 6c 20 63 6f 6c 6f 72 20 |e specia|l color |
|00000310| 74 72 69 63 6b 73 20 70 | 6c 61 79 65 64 0d 23 09 |tricks p|layed.#.|
|00000320| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 6d 61 6b 65 |in order| to make|
|00000330| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 6d 6f 72 | the pro|gram mor|
|00000340| 65 20 6a 61 7a 7a 79 2e | 20 20 41 20 73 70 65 63 |e jazzy.| A spec|
|00000350| 69 61 6c 20 63 6f 6c 6f | 72 20 74 61 62 6c 65 20 |ial colo|r table |
|00000360| 69 73 20 75 73 65 64 20 | 74 6f 20 67 69 76 65 0d |is used |to give.|
|00000370| 23 09 73 6d 6f 6f 74 68 | 20 74 72 61 6e 73 69 74 |#.smooth| transit|
|00000380| 69 6f 6e 73 20 66 72 6f | 6d 20 6f 6e 65 20 63 6f |ions fro|m one co|
|00000390| 6c 6f 72 20 74 6f 20 74 | 68 65 20 6e 65 78 74 2e |lor to t|he next.|
|000003a0| 20 20 43 6f 6c 6f 72 20 | 74 61 62 6c 65 20 61 6e | Color |table an|
|000003b0| 69 6d 61 74 69 6f 6e 20 | 69 73 20 61 6c 73 6f 0d |imation |is also.|
|000003c0| 23 09 73 75 70 70 6f 72 | 74 65 64 2c 20 66 6f 72 |#.suppor|ted, for|
|000003d0| 20 74 68 65 20 77 6f 77 | 65 6d 20 65 66 66 65 63 | the wow|em effec|
|000003e0| 74 20 6f 66 20 66 6c 6f | 77 69 6e 67 20 4d 61 6e |t of flo|wing Man|
|000003f0| 64 65 6c 62 72 6f 74 20 | 69 6d 61 67 65 73 2e 20 |delbrot |images. |
|00000400| 0d 23 09 54 68 65 20 70 | 72 6f 67 72 61 6d 20 69 |.#.The p|rogram i|
|00000410| 73 20 77 72 69 74 74 65 | 6e 20 69 6e 20 4d 61 63 |s writte|n in Mac|
|00000420| 41 70 70 20 31 2e 31 2c | 20 77 68 69 63 68 20 65 |App 1.1,| which e|
|00000430| 78 70 6c 61 69 6e 73 20 | 77 68 79 20 69 74 20 68 |xplains |why it h|
|00000440| 61 73 20 61 20 72 65 61 | 6c 20 75 73 65 72 0d 23 |as a rea|l user.#|
|00000450| 09 69 6e 74 65 72 66 61 | 63 65 2e 20 20 4d 61 6e |.interfa|ce. Man|
|00000460| 64 65 6c 62 72 6f 74 20 | 69 6d 61 67 65 73 20 74 |delbrot |images t|
|00000470| 61 6b 65 20 61 62 6f 75 | 74 20 33 30 20 6d 69 6e |ake abou|t 30 min|
|00000480| 75 74 65 73 20 74 6f 20 | 63 61 6c 63 75 6c 61 74 |utes to |calculat|
|00000490| 65 2e 20 20 49 74 20 69 | 73 0d 23 09 4a 75 67 67 |e. It i|s.#.Jugg|
|000004a0| 6c 65 72 20 61 77 61 72 | 65 20 73 6f 20 79 6f 75 |ler awar|e so you|
|000004b0| 20 63 61 6e 20 70 75 74 | 20 74 68 65 20 70 72 6f | can put| the pro|
|000004c0| 67 72 61 6d 20 69 6e 20 | 74 68 65 20 62 61 63 6b |gram in |the back|
|000004d0| 67 72 6f 75 6e 64 20 77 | 68 65 72 65 20 69 74 20 |ground w|here it |
|000004e0| 77 69 6c 6c 0d 23 09 63 | 6f 6e 74 69 6e 75 65 20 |will.#.c|ontinue |
|000004f0| 74 6f 20 63 61 6c 63 75 | 6c 61 74 65 2c 20 77 68 |to calcu|late, wh|
|00000500| 69 6c 65 20 79 6f 75 20 | 64 6f 20 73 6f 6d 65 74 |ile you |do somet|
|00000510| 68 69 6e 67 20 6d 6f 72 | 65 20 69 6d 70 6f 72 74 |hing mor|e import|
|00000520| 61 6e 74 2c 20 6c 69 6b | 65 20 6c 6f 6f 6b 20 61 |ant, lik|e look a|
|00000530| 74 20 0d 23 09 74 68 65 | 20 73 6f 75 72 63 65 20 |t .#.the| source |
|00000540| 63 6f 64 65 2e 20 20 49 | 74 20 61 6c 73 6f 20 68 |code. I|t also h|
|00000550| 61 6e 64 6c 65 73 20 6d | 75 6c 74 69 70 6c 65 20 |andles m|ultiple |
|00000560| 64 6f 63 75 6d 65 6e 74 | 73 2c 20 61 6e 64 20 72 |document|s, and r|
|00000570| 65 61 64 69 6e 67 2f 77 | 72 69 74 69 6e 67 20 6f |eading/w|riting o|
|00000580| 66 0d 23 09 50 49 43 54 | 20 66 69 6c 65 73 20 75 |f.#.PICT| files u|
|00000590| 73 69 6e 67 20 74 68 65 | 20 62 6f 74 74 6c 65 6e |sing the| bottlen|
|000005a0| 65 63 6b 73 20 74 6f 20 | 6d 69 6e 69 6d 69 7a 65 |ecks to |minimize|
|000005b0| 20 74 68 65 20 6d 65 6d | 6f 72 79 20 68 69 74 2e | the mem|ory hit.|
|000005c0| 0d 23 09 0d 23 09 54 68 | 69 73 20 70 72 6f 67 72 |.#..#.Th|is progr|
|000005d0| 61 6d 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 74 |am is in|tended t|
|000005e0| 6f 20 62 65 20 61 20 72 | 65 61 6c 20 77 6f 72 6c |o be a r|eal worl|
|000005f0| 64 20 65 78 61 6d 70 6c | 65 20 6f 66 20 68 61 6e |d exampl|e of han|
|00000600| 64 6c 69 6e 67 20 63 6f | 6c 6f 72 20 69 6e 20 61 |dling co|lor in a|
|00000610| 0d 23 09 6e 6f 6e 74 72 | 69 76 69 61 6c 20 66 61 |.#.nontr|ivial fa|
|00000620| 73 68 69 6f 6e 2e 20 20 | 41 73 20 73 75 63 68 20 |shion. |As such |
|00000630| 69 74 20 68 61 73 20 73 | 6f 6d 65 20 72 61 74 68 |it has s|ome rath|
|00000640| 65 72 20 73 70 65 63 69 | 61 6c 20 63 6f 6c 6f 72 |er speci|al color|
|00000650| 20 72 65 71 75 69 72 65 | 6d 65 6e 74 73 2c 0d 23 | require|ments,.#|
|00000660| 09 61 6e 64 20 74 68 6f | 73 65 20 64 6f 6e d5 74 |.and tho|se don.t|
|00000670| 20 6d 61 74 63 68 20 74 | 68 65 20 63 75 72 72 65 | match t|he curre|
|00000680| 6e 74 20 73 79 73 74 65 | 6d 20 61 72 63 68 69 74 |nt syste|m archit|
|00000690| 65 63 74 75 72 65 20 76 | 65 72 79 20 77 65 6c 6c |ecture v|ery well|
|000006a0| 2e 20 20 54 68 65 20 70 | 72 6f 67 72 61 6d 0d 23 |. The p|rogram.#|
|000006b0| 09 69 73 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 |.is desi|gned to |
|000006c0| 62 65 20 63 6f 6d 70 61 | 74 69 62 6c 65 20 77 69 |be compa|tible wi|
|000006d0| 74 68 20 74 68 65 20 66 | 75 74 75 72 65 2c 20 69 |th the f|uture, i|
|000006e0| 74 20 77 69 6c 6c 20 6e | 6f 74 20 62 72 65 61 6b |t will n|ot break|
|000006f0| 20 69 6e 20 66 75 74 75 | 72 65 0d 23 09 73 79 73 | in futu|re.#.sys|
|00000700| 74 65 6d 73 2e 20 20 48 | 6f 77 65 76 65 72 2c 20 |tems. H|owever, |
|00000710| 69 74 20 64 6f 65 73 20 | 6e 6f 74 20 75 73 65 20 |it does |not use |
|00000720| 74 68 65 20 50 61 6c 65 | 74 74 65 20 4d 61 6e 61 |the Pale|tte Mana|
|00000730| 67 65 72 2c 20 77 68 69 | 63 68 20 6d 65 61 6e 73 |ger, whi|ch means|
|00000740| 20 74 68 61 74 0d 23 09 | 74 68 65 72 65 20 77 69 | that.#.|there wi|
|00000750| 6c 6c 20 62 65 20 73 69 | 74 75 61 74 69 6f 6e 73 |ll be si|tuations|
|00000760| 20 77 68 65 72 65 20 74 | 68 65 20 63 6f 6c 6f 72 | where t|he color|
|00000770| 73 20 77 69 6c 6c 20 6e | 6f 74 20 6c 6f 6f 6b 20 |s will n|ot look |
|00000780| 72 69 67 68 74 20 69 6e | 20 65 69 74 68 65 72 20 |right in| either |
|00000790| 46 72 61 63 41 70 70 0d | 23 09 6f 72 20 61 6e 6f |FracApp.|#.or ano|
|000007a0| 74 68 65 72 20 70 72 6f | 67 72 61 6d 20 72 75 6e |ther pro|gram run|
|000007b0| 6e 69 6e 67 20 75 6e 64 | 65 72 20 4d 75 6c 74 69 |ning und|er Multi|
|000007c0| 46 69 6e 64 65 72 2e 20 | 20 54 68 65 20 61 70 70 |Finder. | The app|
|000007d0| 72 6f 61 63 68 20 74 68 | 61 74 20 46 72 61 63 41 |roach th|at FracA|
|000007e0| 70 70 0d 23 09 75 73 65 | 73 20 69 73 20 74 68 75 |pp.#.use|s is thu|
|000007f0| 73 20 6e 6f 74 20 74 68 | 65 20 70 72 65 66 65 72 |s not th|e prefer|
|00000800| 72 65 64 20 41 70 70 6c | 65 20 61 70 70 72 6f 61 |red Appl|e approa|
|00000810| 63 68 20 61 6e 64 20 64 | 6f 65 73 20 4e 4f 54 20 |ch and d|oes NOT |
|00000820| 68 61 76 65 20 74 68 65 | 20 41 70 70 6c 65 0d 23 |have the| Apple.#|
|00000830| 09 73 65 61 6c 20 6f 66 | 20 61 70 70 72 6f 76 61 |.seal of| approva|
|00000840| 6c 20 66 72 6f 6d 20 65 | 6e 67 69 6e 65 65 72 69 |l from e|ngineeri|
|00000850| 6e 67 2e 20 20 54 68 65 | 20 6f 6e 6c 79 20 77 61 |ng. The| only wa|
|00000860| 79 20 74 6f 20 67 65 74 | 20 74 68 65 20 73 74 61 |y to get| the sta|
|00000870| 6d 70 20 6f 66 20 61 70 | 70 72 6f 76 61 6c 0d 23 |mp of ap|proval.#|
|00000880| 09 69 73 20 74 6f 20 75 | 73 65 20 74 68 65 20 50 |.is to u|se the P|
|00000890| 61 6c 65 74 74 65 20 4d | 61 6e 61 67 65 72 2e 20 |alette M|anager. |
|000008a0| 20 54 6f 20 64 6f 20 61 | 20 70 72 6f 67 72 61 6d | To do a| program|
|000008b0| 20 6f 66 20 74 68 69 73 | 20 66 6f 72 6d 2c 20 79 | of this| form, y|
|000008c0| 6f 75 20 63 61 6e 6e 6f | 74 0d 23 09 75 73 65 20 |ou canno|t.#.use |
|000008d0| 74 68 65 20 50 61 6c 65 | 74 74 65 20 4d 61 6e 61 |the Pale|tte Mana|
|000008e0| 67 65 72 20 77 69 74 68 | 6f 75 74 20 73 6f 6d 65 |ger with|out some|
|000008f0| 20 65 78 74 72 61 20 68 | 61 63 6b 73 20 74 68 61 | extra h|acks tha|
|00000900| 74 20 61 72 65 20 63 6f | 6d 70 61 74 69 62 69 6c |t are co|mpatibil|
|00000910| 69 74 79 0d 23 09 72 69 | 73 6b 73 20 69 6e 20 74 |ity.#.ri|sks in t|
|00000920| 68 65 6d 73 65 6c 76 65 | 73 2e 20 20 53 6f 2e 2e |hemselve|s. So..|
|00000930| 2e 20 75 73 65 20 61 74 | 20 79 6f 75 72 20 6f 77 |. use at| your ow|
|00000940| 6e 20 72 69 73 6b 2e 20 | 20 49 66 20 79 6f 75 20 |n risk. | If you |
|00000950| 61 72 65 20 66 6f 72 63 | 65 64 20 74 6f 20 72 65 |are forc|ed to re|
|00000960| 76 69 73 65 20 79 6f 75 | 72 20 0d 23 09 70 72 6f |vise you|r .#.pro|
|00000970| 67 72 61 6d 20 62 65 63 | 61 75 73 65 20 79 6f 75 |gram bec|ause you|
|00000980| 20 66 6f 6c 6c 6f 77 65 | 64 20 74 68 69 73 20 61 | followe|d this a|
|00000990| 73 20 61 6e 20 65 78 61 | 6d 70 6c 65 2c 20 79 6f |s an exa|mple, yo|
|000009a0| 75 20 63 61 6e 6e 6f 74 | 20 67 72 69 70 65 20 74 |u cannot| gripe t|
|000009b0| 6f 20 41 70 70 6c 65 2c | 20 73 69 6e 63 65 0d 23 |o Apple,| since.#|
|000009c0| 09 69 74 20 69 73 20 6e | 6f 74 20 66 75 6c 6c 79 |.it is n|ot fully|
|000009d0| 20 61 70 70 72 6f 76 65 | 64 2e 20 20 59 6f 75 20 | approve|d. You |
|000009e0| 6a 75 73 74 20 68 61 76 | 65 20 74 6f 20 63 68 61 |just hav|e to cha|
|000009f0| 6e 67 65 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d |nge your| program|
|00000a00| 2c 20 77 68 69 63 68 20 | 49 20 68 6f 70 65 20 69 |, which |I hope i|
|00000a10| 73 20 6e 6f 0d 23 09 62 | 69 67 20 64 65 61 6c 2e |s no.#.b|ig deal.|
|00000a20| 20 20 59 6f 75 20 63 61 | 6e 20 67 69 76 65 20 74 | You ca|n give t|
|00000a30| 68 69 73 20 63 6f 64 65 | 20 74 6f 20 6f 74 68 65 |his code| to othe|
|00000a40| 72 20 70 65 6f 70 6c 65 | 2c 20 61 73 20 6c 6f 6e |r people|, as lon|
|00000a50| 67 20 61 73 20 74 68 65 | 79 20 72 65 63 6f 67 6e |g as the|y recogn|
|00000a60| 69 7a 65 0d 23 09 74 68 | 61 74 20 69 74 20 69 73 |ize.#.th|at it is|
|00000a70| 20 6e 6f 74 20 66 75 6c | 6c 79 20 61 70 70 72 6f | not ful|ly appro|
|00000a80| 76 65 64 20 74 6f 6f 2e | 20 0d 23 09 0d 23 09 55 |ved too.| .#..#.U|
|00000a90| 6e 6c 65 73 73 20 79 6f | 75 20 68 61 76 65 20 76 |nless yo|u have v|
|00000aa0| 65 72 79 20 73 70 65 63 | 69 61 6c 20 63 6f 6c 6f |ery spec|ial colo|
|00000ab0| 72 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 2c 20 |r requir|ements, |
|00000ac0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 75 73 65 20 74 |you shou|ld use t|
|00000ad0| 68 65 20 50 61 6c 65 74 | 74 65 20 0d 23 09 4d 61 |he Palet|te .#.Ma|
|00000ae0| 6e 61 67 65 72 2e 20 20 | 49 74 20 77 6f 72 6b 73 |nager. |It works|
|00000af0| 20 66 6f 72 20 6d 6f 73 | 74 20 74 68 69 6e 67 73 | for mos|t things|
|00000b00| 2c 20 61 6e 64 20 69 73 | 20 6d 75 63 68 20 65 61 |, and is| much ea|
|00000b10| 73 69 65 72 20 74 6f 20 | 75 73 65 20 74 68 61 6e |sier to |use than|
|00000b20| 20 74 68 65 0d 23 09 61 | 70 70 72 6f 61 63 68 20 | the.#.a|pproach |
|00000b30| 74 61 6b 65 6e 20 68 65 | 72 65 2e 20 20 54 68 65 |taken he|re. The|
|00000b40| 72 65 20 61 72 65 20 61 | 20 66 65 77 20 74 68 69 |re are a| few thi|
|00000b50| 6e 67 73 20 69 74 20 77 | 6f 6e d5 74 20 64 6f 20 |ngs it w|on.t do |
|00000b60| 6f 66 20 63 6f 75 72 73 | 65 2c 20 6c 65 61 64 69 |of cours|e, leadi|
|00000b70| 6e 67 0d 23 09 74 6f 20 | 74 68 69 73 20 63 6f 64 |ng.#.to |this cod|
|00000b80| 65 2e 20 20 49 66 20 79 | 6f 75 20 63 61 6e 20 64 |e. If y|ou can d|
|00000b90| 6f 20 69 74 2c 20 75 73 | 65 20 74 68 65 20 50 61 |o it, us|e the Pa|
|00000ba0| 6c 65 74 74 65 20 4d 61 | 6e 61 67 65 72 20 61 6e |lette Ma|nager an|
|00000bb0| 64 20 73 61 76 65 20 79 | 6f 75 72 73 65 6c 66 0d |d save y|ourself.|
|00000bc0| 23 09 73 6f 6d 65 20 67 | 72 69 65 66 2e 0d 23 09 |#.some g|rief..#.|
|00000bd0| 09 09 57 72 69 74 74 65 | 6e 20 69 6e 20 4d 61 63 |..Writte|n in Mac|
|00000be0| 41 70 70 20 4f 62 6a 65 | 63 74 20 50 61 73 63 61 |App Obje|ct Pasca|
|00000bf0| 6c 20 63 6f 64 65 2e 0d | 23 09 09 09 43 6f 6d 70 |l code..|#...Comp|
|00000c00| 61 74 69 62 69 6c 69 74 | 79 20 72 61 74 69 6e 67 |atibilit|y rating|
|00000c10| 20 3d 20 32 2e 20 20 28 | 6e 6f 74 68 69 6e 67 20 | = 2. (|nothing |
|00000c20| 77 69 6c 6c 20 62 72 65 | 61 6b 2c 20 62 75 74 20 |will bre|ak, but |
|00000c30| 69 74 20 6d 61 79 20 6e | 6f 74 0d 23 09 09 09 09 |it may n|ot.#....|
|00000c40| 61 6c 77 61 79 73 20 6c | 6f 6f 6b 20 63 6f 72 72 |always l|ook corr|
|00000c50| 65 63 74 2e 29 0d 23 0d | 2d 2d 2d 2d 2d 2d 2d 2d |ect.).#.|--------|
|00000c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ca0| 2d 2d 2d 2d 2d 2d 7d 0d | 7b 43 6f 70 79 72 69 67 |------}.|{Copyrig|
|00000cb0| 68 74 20 31 39 38 38 20 | 62 79 20 42 6f 62 2e 20 |ht 1988 |by Bob. |
|00000cc0| 20 41 6c 6c 20 72 69 67 | 68 74 73 20 72 65 73 65 | All rig|hts rese|
|00000cd0| 72 76 65 64 2c 20 73 69 | 6e 63 65 20 42 6f 62 20 |rved, si|nce Bob |
|00000ce0| 68 61 73 20 61 6c 6c 20 | 72 69 67 68 74 73 2e 0d |has all |rights..|
|00000cf0| 09 46 65 62 72 75 61 72 | 79 20 31 2c 20 31 39 38 |.Februar|y 1, 198|
|00000d00| 38 2e 20 0d 09 57 72 69 | 74 74 65 6e 20 62 79 20 |8. ..Wri|tten by |
|00000d10| 42 6f 33 62 20 4a 6f 68 | 6e 73 6f 6e 20 6f 66 20 |Bo3b Joh|nson of |
|00000d20| 44 65 76 65 6c 6f 70 65 | 72 20 54 65 63 68 6e 69 |Develope|r Techni|
|00000d30| 63 61 6c 20 53 75 70 70 | 6f 72 74 2e 20 7d 0d 09 |cal Supp|ort. }..|
|00000d40| 0d 7b 20 56 65 72 73 69 | 6f 6e 20 31 2e 30 20 7d |.{ Versi|on 1.0 }|
|00000d50| 0d 0d 7b 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |..{ The |followin|
|00000d60| 67 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 66 |g is a l|ist of f|
|00000d70| 65 61 74 75 72 65 73 20 | 6f 72 20 62 75 67 20 66 |eatures |or bug f|
|00000d80| 69 78 65 73 20 74 68 61 | 74 20 63 6f 75 6c 64 20 |ixes tha|t could |
|00000d90| 62 65 20 61 64 64 65 64 | 20 74 6f 20 74 68 65 20 |be added| to the |
|00000da0| 70 72 6f 67 72 61 6d 3a | 0d 20 20 2a 2a 2a 20 43 |program:|. *** C|
|00000db0| 68 65 63 6b 20 74 68 65 | 20 73 65 67 6d 65 6e 74 |heck the| segment|
|00000dc0| 61 74 69 6f 6e 2e 0d 20 | 20 2a 2a 2a 20 42 75 67 |ation.. | *** Bug|
|00000dd0| 20 77 69 74 68 20 73 65 | 6c 65 63 74 69 6f 6e 20 | with se|lection |
|00000de0| 72 65 63 74 61 6e 67 6c | 65 20 6f 6e 20 65 64 67 |rectangl|e on edg|
|00000df0| 65 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 2c 20 6d |e of doc|ument, m|
|00000e00| 6f 76 69 6e 67 20 62 79 | 20 31 20 70 69 78 65 6c |oving by| 1 pixel|
|00000e10| 2e 0d 20 20 2a 2a 2a 20 | 4d 61 6b 65 20 69 74 20 |.. *** |Make it |
|00000e20| 72 75 6e 20 63 72 61 73 | 68 6c 65 73 73 20 75 73 |run cras|hless us|
|00000e30| 69 6e 67 20 74 65 6d 70 | 20 64 6f 63 75 6d 65 6e |ing temp| documen|
|00000e40| 74 73 20 74 6f 20 73 74 | 6f 72 65 20 70 61 72 74 |ts to st|ore part|
|00000e50| 69 61 6c 20 66 72 61 63 | 74 61 6c 73 2e 0d 20 20 |ial frac|tals.. |
|00000e60| 2a 2a 2a 20 55 70 64 61 | 74 65 73 20 63 6f 75 6c |*** Upda|tes coul|
|00000e70| 64 20 62 65 20 63 6c 65 | 61 6e 65 72 20 73 6f 20 |d be cle|aner so |
|00000e80| 6e 6f 20 70 61 72 74 69 | 61 6c 20 66 72 61 63 74 |no parti|al fract|
|00000e90| 61 6c 73 20 61 72 65 20 | 64 69 73 70 6c 61 79 65 |als are |displaye|
|00000ea0| 64 2e 0d 20 20 2a 2a 2a | 20 4f 76 65 72 72 69 64 |d.. ***| Overrid|
|00000eb0| 65 20 77 69 6e 64 6f 77 | 2e 75 70 64 61 74 65 65 |e window|.updatee|
|00000ec0| 76 65 6e 74 20 73 6f 20 | 77 65 20 63 61 6e 20 61 |vent so |we can a|
|00000ed0| 76 6f 69 64 20 74 68 65 | 20 45 72 61 73 65 52 65 |void the| EraseRe|
|00000ee0| 63 74 20 6f 6e 20 75 70 | 64 61 74 65 73 2e 0d 20 |ct on up|dates.. |
|00000ef0| 20 2a 2a 2a 20 44 72 61 | 77 20 73 65 6c 65 63 74 | *** Dra|w select|
|00000f00| 69 6f 6e 20 72 65 63 74 | 20 69 6e 20 6f 66 66 73 |ion rect| in offs|
|00000f10| 63 72 65 65 6e 2c 20 63 | 6f 70 79 20 75 70 20 74 |creen, c|opy up t|
|00000f20| 6f 20 73 63 72 65 65 6e | 20 66 6f 72 20 66 6c 69 |o screen| for fli|
|00000f30| 63 6b 65 72 20 66 72 65 | 65 20 73 65 6c 65 63 74 |cker fre|e select|
|00000f40| 69 6f 6e 2e 0d 20 20 2a | 2a 2a 20 43 72 61 73 68 |ion.. *|** Crash|
|00000f50| 20 6f 6e 20 33 20 6d 6f | 6e 69 74 6f 72 20 73 79 | on 3 mo|nitor sy|
|00000f60| 73 74 65 6d 20 64 75 72 | 69 6e 67 20 77 69 6e 64 |stem dur|ing wind|
|00000f70| 6f 77 20 64 72 61 67 2e | 0d 20 20 2a 2a 2a 20 43 |ow drag.|. *** C|
|00000f80| 6f 75 6c 64 20 73 65 74 | 20 74 68 65 20 62 79 74 |ould set| the byt|
|00000f90| 65 73 20 64 69 72 65 63 | 74 6c 79 20 69 6e 20 6f |es direc|tly in o|
|00000fa0| 66 66 73 63 72 65 65 6e | 20 50 69 78 4d 61 70 2c |ffscreen| PixMap,|
|00000fb0| 20 73 6b 69 70 20 75 73 | 69 6e 67 20 4d 6f 76 65 | skip us|ing Move|
|00000fc0| 54 6f 3a 4c 69 6e 65 2e | 20 0d 20 20 2a 2a 2a 20 |To:Line.| . *** |
|00000fd0| 43 6f 70 79 20 75 70 20 | 66 72 6f 6d 20 73 6d 61 |Copy up |from sma|
|00000fe0| 6c 6c 20 70 69 63 74 75 | 72 65 20 75 70 20 74 6f |ll pictu|re up to|
|00000ff0| 20 62 69 67 20 73 63 72 | 65 65 6e 20 67 65 74 73 | big scr|een gets|
|00001000| 20 67 61 72 62 61 67 65 | 2c 20 73 72 63 20 72 65 | garbage|, src re|
|00001010| 63 74 20 74 6f 6f 20 62 | 69 67 3f 0d 20 20 2a 2a |ct too b|ig?. **|
|00001020| 2a 20 41 6c 6c 6f 77 20 | 61 20 77 61 79 20 74 6f |* Allow |a way to|
|00001030| 20 5a 6f 6f 6d 20 69 6e | 20 75 73 69 6e 67 20 63 | Zoom in| using c|
|00001040| 6f 6f 72 64 69 6e 61 74 | 65 73 2e 0d 20 20 2a 2a |oordinat|es.. **|
|00001050| 2a 20 41 6c 6c 6f 77 20 | 74 68 65 20 75 73 65 72 |* Allow |the user|
|00001060| 20 74 6f 20 73 65 74 20 | 74 68 65 20 63 6f 6c 6f | to set |the colo|
|00001070| 72 73 20 75 73 65 64 20 | 69 6e 20 64 69 73 70 6c |rs used |in displ|
|00001080| 61 79 2e 0d 20 20 2a 2a | 2a 20 42 69 67 67 65 72 |ay.. **|* Bigger|
|00001090| 20 70 65 6e 53 69 7a 65 | 20 66 6f 72 20 66 61 73 | penSize| for fas|
|000010a0| 74 2c 20 6c 6f 2d 72 65 | 73 20 66 72 61 63 74 61 |t, lo-re|s fracta|
|000010b0| 6c 73 2e 20 20 41 6c 6c | 6f 77 20 75 73 65 72 20 |ls. All|ow user |
|000010c0| 74 6f 20 73 65 74 20 73 | 69 7a 65 20 6f 66 20 70 |to set s|ize of p|
|000010d0| 65 6e 2e 0d 20 20 2a 2a | 2a 20 41 64 64 20 4d 61 |en.. **|* Add Ma|
|000010e0| 63 41 70 70 20 64 65 62 | 75 67 67 69 6e 67 20 73 |cApp deb|ugging s|
|000010f0| 74 75 66 66 20 6c 69 6b | 65 20 49 6e 73 70 65 63 |tuff lik|e Inspec|
|00001100| 74 20 61 6e 64 20 54 4c | 69 73 74 20 6f 62 6a 65 |t and TL|ist obje|
|00001110| 63 74 20 63 68 65 63 6b | 69 6e 67 2e 0d 20 20 2a |ct check|ing.. *|
|00001120| 2a 2a 20 53 6f 6d 65 20 | 74 68 69 6e 67 73 20 66 |** Some |things f|
|00001130| 6f 72 20 74 68 65 20 72 | 65 61 64 65 72 20 74 6f |or the r|eader to|
|00001140| 20 64 6f 20 74 6f 20 6d | 6f 64 69 66 79 20 74 68 | do to m|odify th|
|00001150| 65 20 70 72 6f 67 72 61 | 6d 2e 20 0d 20 20 7d 0d |e progra|m. . }.|
|00001160| 0d 7b 20 57 68 65 72 65 | 20 64 6f 65 73 20 69 74 |.{ Where| does it|
|00001170| 20 66 69 74 3a 0d 09 54 | 68 69 73 20 69 73 20 61 | fit:..T|his is a|
|00001180| 20 73 65 72 69 65 73 20 | 6f 66 20 73 61 6d 70 6c | series |of sampl|
|00001190| 65 20 70 72 6f 67 72 61 | 6d 73 20 66 6f 72 20 74 |e progra|ms for t|
|000011a0| 68 6f 73 65 20 64 6f 69 | 6e 67 20 64 65 76 65 6c |hose doi|ng devel|
|000011b0| 6f 70 6d 65 6e 74 0d 09 | 75 73 69 6e 67 20 43 6f |opment..|using Co|
|000011c0| 6c 6f 72 20 51 75 69 63 | 6b 44 72 61 77 2e 20 20 |lor Quic|kDraw. |
|000011d0| 53 69 6e 63 65 20 74 68 | 65 20 77 68 6f 6c 65 20 |Since th|e whole |
|000011e0| 63 6f 6c 6f 72 20 70 72 | 6f 62 6c 65 6d 20 64 65 |color pr|oblem de|
|000011f0| 70 65 6e 64 73 0d 09 75 | 70 6f 6e 20 74 68 65 20 |pends..u|pon the |
|00001200| 65 78 61 63 74 20 65 66 | 66 65 63 74 20 64 65 73 |exact ef|fect des|
|00001210| 69 72 65 64 2c 20 74 68 | 65 72 65 20 61 72 65 20 |ired, th|ere are |
|00001220| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 61 6e 73 77 |a number| of answ|
|00001230| 65 72 73 0d 09 74 6f 20 | 68 6f 77 20 74 6f 20 75 |ers..to |how to u|
|00001240| 73 65 20 63 6f 6c 6f 72 | 73 2c 20 66 72 6f 6d 20 |se color|s, from |
|00001250| 74 68 65 20 73 69 6d 70 | 6c 65 20 74 6f 20 74 68 |the simp|le to th|
|00001260| 65 20 72 61 64 69 63 61 | 6c 6c 79 20 63 6f 6d 70 |e radica|lly comp|
|00001270| 6c 65 78 2e 0d 09 54 68 | 65 73 65 20 70 72 6f 67 |lex...Th|ese prog|
|00001280| 72 61 6d 73 20 74 72 79 | 20 74 6f 20 63 6f 76 65 |rams try| to cove|
|00001290| 72 20 74 68 65 20 67 61 | 6d 75 74 2c 20 73 6f 20 |r the ga|mut, so |
|000012a0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 75 73 65 20 0d |you shou|ld use .|
|000012b0| 09 77 68 69 63 68 20 65 | 76 65 72 20 73 65 65 6d |.which e|ver seem|
|000012c0| 73 20 61 70 70 72 6f 70 | 72 69 61 74 65 2e 20 20 |s approp|riate. |
|000012d0| 49 6e 20 6d 6f 73 74 20 | 63 61 73 65 73 2c 20 75 |In most |cases, u|
|000012e0| 73 65 20 74 68 65 20 73 | 69 6d 70 6c 65 73 74 0d |se the s|implest.|
|000012f0| 09 6f 6e 65 20 74 68 61 | 74 20 77 69 6c 6c 20 67 |.one tha|t will g|
|00001300| 69 76 65 20 74 68 65 20 | 64 65 73 69 72 65 64 20 |ive the |desired |
|00001310| 72 65 73 75 6c 74 73 2e | 20 20 54 68 65 20 63 6f |results.| The co|
|00001320| 6d 70 61 74 69 62 69 6c | 69 74 79 0d 09 72 61 74 |mpatibil|ity..rat|
|00001330| 69 6e 67 20 69 73 20 66 | 72 6f 6d 20 30 2e 2e 39 |ing is f|rom 0..9|
|00001340| 20 77 68 65 72 65 20 6c | 6f 77 20 69 73 20 62 65 | where l|ow is be|
|00001350| 74 74 65 72 2e 20 20 54 | 68 65 20 6d 6f 72 65 20 |tter. T|he more |
|00001360| 6b 6e 6f 77 6e 20 72 69 | 73 6b 73 20 0d 09 74 68 |known ri|sks ..th|
|00001370| 65 72 65 20 61 72 65 20 | 74 68 65 20 68 69 67 68 |ere are |the high|
|00001380| 65 72 20 74 68 65 20 72 | 61 74 69 6e 67 2e 0d 09 |er the r|ating...|
|00001390| 0d 09 0d 09 54 68 65 20 | 70 72 6f 67 72 61 6d 73 |....The |programs|
|000013a0| 20 28 69 6e 20 6f 72 64 | 65 72 20 6f 66 20 63 6f | (in ord|er of co|
|000013b0| 6d 70 61 74 69 62 69 6c | 69 74 79 29 3a 0d 09 0d |mpatibil|ity):...|
|000013c0| 09 09 53 69 6c 6c 79 42 | 61 6c 6c 73 3a 0d 09 09 |..SillyB|alls:...|
|000013d0| 09 54 68 69 73 20 69 73 | 20 74 68 65 20 73 69 6d |.This is| the sim|
|000013e0| 70 6c 65 73 74 20 75 73 | 65 20 6f 66 20 43 6f 6c |plest us|e of Col|
|000013f0| 6f 72 20 51 75 69 63 6b | 44 72 61 77 2c 20 61 6e |or Quick|Draw, an|
|00001400| 64 20 64 6f 65 73 0d 09 | 09 09 6e 6f 74 20 75 73 |d does..|..not us|
|00001410| 65 20 74 68 65 20 50 61 | 6c 65 74 74 65 20 4d 61 |e the Pa|lette Ma|
|00001420| 6e 61 67 65 72 2e 20 20 | 49 74 20 64 72 61 77 73 |nager. |It draws|
|00001430| 20 72 61 6e 64 6f 6d 6c | 79 20 63 6f 6c 6f 72 65 | randoml|y colore|
|00001440| 64 0d 09 09 09 62 61 6c | 6c 73 20 69 6e 20 61 20 |d....bal|ls in a |
|00001450| 63 6f 6c 6f 72 20 77 69 | 6e 64 6f 77 2e 20 20 54 |color wi|ndow. T|
|00001460| 68 69 73 20 69 73 20 69 | 6e 74 65 6e 64 65 64 20 |his is i|ntended |
|00001470| 74 6f 20 67 69 76 65 20 | 79 6f 75 0d 09 09 09 74 |to give |you....t|
|00001480| 68 65 20 61 62 73 6f 6c | 75 74 65 20 6d 69 6e 69 |he absol|ute mini|
|00001490| 6d 75 6d 20 72 65 71 75 | 69 72 65 64 20 74 6f 20 |mum requ|ired to |
|000014a0| 67 65 74 20 63 6f 6c 6f | 72 20 6f 6e 20 74 68 65 |get colo|r on the|
|000014b0| 20 73 63 72 65 65 6e 2e | 0d 09 09 09 57 72 69 74 | screen.|....Writ|
|000014c0| 74 65 6e 20 69 6e 20 73 | 74 72 61 69 67 68 74 20 |ten in s|traight |
|000014d0| 50 61 73 63 61 6c 20 63 | 6f 64 65 2e 0d 09 09 09 |Pascal c|ode.....|
|000014e0| 43 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 72 61 |Compatib|ility ra|
|000014f0| 74 69 6e 67 20 3d 20 30 | 2c 20 6e 6f 20 6b 6e 6f |ting = 0|, no kno|
|00001500| 77 6e 20 72 69 73 6b 73 | 2e 0d 09 09 0d 09 09 46 |wn risks|.......F|
|00001510| 72 61 63 41 70 70 50 61 | 6c 65 74 74 65 3a 0d 09 |racAppPa|lette:..|
|00001520| 09 09 54 68 69 73 20 69 | 73 20 61 20 76 65 72 73 |..This i|s a vers|
|00001530| 69 6f 6e 20 6f 66 20 46 | 72 61 63 41 70 70 20 74 |ion of F|racApp t|
|00001540| 68 61 74 20 75 73 65 73 | 20 6f 6e 6c 79 20 74 68 |hat uses| only th|
|00001550| 65 20 50 61 6c 65 74 74 | 65 0d 09 09 09 4d 61 6e |e Palett|e....Man|
|00001560| 61 67 65 72 2e 20 20 49 | 74 20 64 6f 65 73 20 6e |ager. I|t does n|
|00001570| 6f 74 20 73 75 70 70 6f | 72 74 20 63 6f 6c 6f 72 |ot suppo|rt color|
|00001580| 20 74 61 62 6c 65 20 61 | 6e 69 6d 61 74 69 6f 6e | table a|nimation|
|00001590| 0d 09 09 09 73 69 6e 63 | 65 20 74 68 61 74 20 70 |....sinc|e that p|
|000015a0| 61 72 74 20 6f 66 20 74 | 68 65 20 50 61 6c 65 74 |art of t|he Palet|
|000015b0| 74 65 20 4d 61 6e 61 67 | 65 72 20 69 73 20 6e 6f |te Manag|er is no|
|000015c0| 74 20 73 75 66 66 69 63 | 69 65 6e 74 2e 0d 09 09 |t suffic|ient....|
|000015d0| 09 54 68 65 20 70 72 6f | 67 72 61 6d 20 64 65 6d |.The pro|gram dem|
|000015e0| 6f 6e 73 74 72 61 74 65 | 73 20 61 20 66 75 6c 6c |onstrate|s a full|
|000015f0| 20 63 6f 6c 6f 72 20 70 | 61 6c 65 74 74 65 20 74 | color p|alette t|
|00001600| 68 61 74 20 69 73 0d 09 | 09 09 75 73 65 64 20 74 |hat is..|..used t|
|00001610| 6f 20 64 69 73 70 6c 61 | 79 20 74 68 65 20 4d 61 |o displa|y the Ma|
|00001620| 6e 64 65 6c 62 72 6f 74 | 20 73 65 74 2e 20 20 49 |ndelbrot| set. I|
|00001630| 74 20 75 73 65 73 20 61 | 6e 20 6f 66 66 73 63 72 |t uses a|n offscr|
|00001640| 65 65 6e 0d 09 09 09 67 | 44 65 76 69 63 65 20 77 |een....g|Device w|
|00001650| 2f 20 50 6f 72 74 20 74 | 6f 20 68 61 6e 64 6c 65 |/ Port t|o handle|
|00001660| 20 74 68 65 20 64 61 74 | 61 2c 20 75 73 69 6e 67 | the dat|a, using|
|00001670| 20 43 6f 70 79 42 69 74 | 73 20 74 6f 0d 09 09 09 | CopyBit|s to....|
|00001680| 64 72 61 77 20 74 6f 20 | 74 68 65 20 77 69 6e 64 |draw to |the wind|
|00001690| 6f 77 2e 20 20 54 68 65 | 20 50 61 6c 65 74 74 65 |ow. The| Palette|
|000016a0| 20 69 73 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c | is auto|maticall|
|000016b0| 79 20 0d 09 09 09 61 73 | 73 6f 63 69 61 74 65 64 |y ....as|sociated|
|000016c0| 20 77 69 74 68 20 65 61 | 63 68 20 77 69 6e 64 6f | with ea|ch windo|
|000016d0| 77 2e 20 20 54 68 65 20 | 50 49 43 54 20 66 69 6c |w. The |PICT fil|
|000016e0| 65 73 20 61 72 65 20 72 | 65 61 64 0d 09 09 09 61 |es are r|ead....a|
|000016f0| 6e 64 20 77 72 69 74 74 | 65 6e 20 75 73 69 6e 67 |nd writt|en using|
|00001700| 20 74 68 65 20 62 6f 74 | 74 6c 65 6e 65 63 6b 73 | the bot|tlenecks|
|00001710| 2c 20 74 6f 20 73 61 76 | 65 20 6f 6e 20 6d 65 6d |, to sav|e on mem|
|00001720| 6f 72 79 0d 09 09 09 75 | 73 65 61 67 65 2e 0d 09 |ory....u|seage...|
|00001730| 09 09 57 72 69 74 74 65 | 6e 20 69 6e 20 4d 61 63 |..Writte|n in Mac|
|00001740| 41 70 70 20 4f 62 6a 65 | 63 74 20 50 61 73 63 61 |App Obje|ct Pasca|
|00001750| 6c 20 63 6f 64 65 2e 0d | 09 09 09 43 6f 6d 70 61 |l code..|...Compa|
|00001760| 74 69 62 69 6c 69 74 79 | 20 72 61 74 69 6e 67 20 |tibility| rating |
|00001770| 3d 20 30 2c 20 6e 6f 20 | 6b 6e 6f 77 6e 20 72 69 |= 0, no |known ri|
|00001780| 73 6b 73 2e 0d 09 09 0d | 09 09 54 75 62 65 54 65 |sks.....|..TubeTe|
|00001790| 73 74 3a 0d 09 09 09 54 | 68 69 73 20 69 73 20 61 |st:....T|his is a|
|000017a0| 20 73 6d 61 6c 6c 20 64 | 65 6d 6f 20 70 72 6f 67 | small d|emo prog|
|000017b0| 72 61 6d 20 74 68 61 74 | 20 64 65 6d 6f 6e 73 74 |ram that| demonst|
|000017c0| 72 61 74 65 73 20 75 73 | 69 6e 67 20 74 68 65 0d |rates us|ing the.|
|000017d0| 09 09 09 50 61 6c 65 74 | 74 65 20 4d 61 6e 61 67 |...Palet|te Manag|
|000017e0| 65 72 20 66 6f 72 20 63 | 6f 6c 6f 72 20 74 61 62 |er for c|olor tab|
|000017f0| 6c 65 20 61 6e 69 6d 61 | 74 69 6f 6e 2e 20 20 49 |le anima|tion. I|
|00001800| 74 20 75 73 65 73 20 61 | 20 0d 09 09 09 63 6f 6c |t uses a| ....col|
|00001810| 6f 72 20 70 61 6c 65 74 | 74 65 20 77 69 74 68 20 |or palet|te with |
|00001820| 61 6e 69 6d 61 74 69 6e | 67 20 65 6e 74 72 69 65 |animatin|g entrie|
|00001830| 73 2c 20 61 6e 64 20 64 | 72 61 77 73 20 75 73 69 |s, and d|raws usi|
|00001840| 6e 67 20 74 68 65 0d 09 | 09 09 50 61 6c 65 74 74 |ng the..|..Palett|
|00001850| 65 20 4d 61 6e 61 67 65 | 72 2e 20 20 54 68 65 72 |e Manage|r. Ther|
|00001860| 65 20 61 72 65 20 74 77 | 6f 20 63 69 72 63 6c 65 |e are tw|o circle|
|00001870| 73 20 6f 66 20 61 6e 69 | 6d 61 74 69 6e 67 20 63 |s of ani|mating c|
|00001880| 6f 6c 6f 72 73 0d 09 09 | 09 77 68 69 63 68 20 67 |olors...|.which g|
|00001890| 69 76 65 73 20 61 20 66 | 6c 6f 77 69 6e 67 20 74 |ives a f|lowing t|
|000018a0| 75 62 65 20 65 66 66 65 | 63 74 2e 20 20 54 68 69 |ube effe|ct. Thi|
|000018b0| 73 20 69 73 20 61 20 76 | 61 6c 69 64 20 63 61 73 |s is a v|alid cas|
|000018c0| 65 0d 09 09 09 66 6f 72 | 20 75 73 69 6e 67 20 74 |e....for| using t|
|000018d0| 68 65 20 61 6e 69 6d 61 | 74 69 6e 67 20 63 6f 6c |he anima|ting col|
|000018e0| 6f 72 73 20 61 73 70 65 | 63 74 20 6f 66 20 74 68 |ors aspe|ct of th|
|000018f0| 65 20 50 61 6c 65 74 74 | 65 20 4d 61 6e 61 67 65 |e Palett|e Manage|
|00001900| 72 2c 0d 09 09 09 73 69 | 6e 63 65 20 74 68 65 20 |r,....si|nce the |
|00001910| 69 6d 61 67 65 20 69 73 | 20 62 65 69 6e 67 20 64 |image is| being d|
|00001920| 72 61 77 6e 20 64 69 72 | 65 63 74 6c 79 2e 0d 09 |rawn dir|ectly...|
|00001930| 09 09 57 72 69 74 74 65 | 6e 20 69 6e 20 73 74 72 |..Writte|n in str|
|00001940| 61 69 67 68 74 20 50 61 | 73 63 61 6c 20 63 6f 64 |aight Pa|scal cod|
|00001950| 65 2e 0d 09 09 09 43 6f | 6d 70 61 74 69 62 69 6c |e.....Co|mpatibil|
|00001960| 69 74 79 20 72 61 74 69 | 6e 67 20 3d 20 30 2c 20 |ity rati|ng = 0, |
|00001970| 6e 6f 20 6b 6e 6f 77 6e | 20 72 69 73 6b 73 2e 0d |no known| risks..|
|00001980| 09 09 0d 09 09 46 72 61 | 63 41 70 70 3a 09 28 2a |.....Fra|cApp:.(*|
|00001990| 2a 2a 29 0d 09 09 09 54 | 68 69 73 20 69 73 20 74 |**)....T|his is t|
|000019a0| 68 65 20 d4 63 6f 6d 6d | 65 72 63 69 61 6c 20 71 |he .comm|ercial q|
|000019b0| 75 61 6c 69 74 79 d5 20 | 76 65 72 73 69 6f 6e 20 |uality. |version |
|000019c0| 6f 66 20 46 72 61 63 41 | 70 70 2e 20 20 54 68 69 |of FracA|pp. Thi|
|000019d0| 73 0d 09 09 09 76 65 72 | 73 69 6f 6e 20 73 75 70 |s....ver|sion sup|
|000019e0| 70 6f 72 74 73 20 63 6f | 6c 6f 72 20 74 61 62 6c |ports co|lor tabl|
|000019f0| 65 20 61 6e 69 6d 61 74 | 69 6f 6e 2c 20 75 73 69 |e animat|ion, usi|
|00001a00| 6e 67 20 61 6e 20 6f 66 | 66 73 63 72 65 65 6e 0d |ng an of|fscreen.|
|00001a10| 09 09 09 67 44 65 76 69 | 63 65 20 77 2f 20 50 6f |...gDevi|ce w/ Po|
|00001a20| 72 74 2c 20 61 6e 64 20 | 68 61 6e 64 6c 65 73 20 |rt, and |handles |
|00001a30| 6d 75 6c 74 69 70 6c 65 | 20 64 6f 63 75 6d 65 6e |multiple| documen|
|00001a40| 74 73 2e 20 20 54 68 65 | 0d 09 09 09 43 6f 70 79 |ts. The|....Copy|
|00001a50| 42 69 74 73 20 75 70 64 | 61 74 65 73 20 74 6f 20 |Bits upd|ates to |
|00001a60| 74 68 65 20 73 63 72 65 | 65 6e 20 61 72 65 20 61 |the scre|en are a|
|00001a70| 73 20 66 61 73 74 20 61 | 73 20 70 6f 73 73 69 62 |s fast a|s possib|
|00001a80| 6c 65 2e 20 20 54 68 65 | 0d 09 09 09 70 72 6f 67 |le. The|....prog|
|00001a90| 72 61 6d 20 64 6f 65 73 | 20 6e 6f 74 20 75 73 65 |ram does| not use|
|00001aa0| 20 74 68 65 20 50 61 6c | 65 74 74 65 20 4d 61 6e | the Pal|ette Man|
|00001ab0| 61 67 65 72 2c 20 65 78 | 63 65 70 74 20 74 6f 0d |ager, ex|cept to.|
|00001ac0| 09 09 09 70 72 6f 76 69 | 64 65 20 66 6f 72 20 74 |...provi|de for t|
|00001ad0| 68 65 20 73 79 73 74 65 | 6d 20 70 61 6c 65 74 74 |he syste|m palett|
|00001ae0| 65 2c 20 6f 72 20 63 6f | 6c 6f 72 20 6d 6f 64 65 |e, or co|lor mode|
|00001af0| 73 20 77 69 74 68 20 6c | 65 73 73 20 74 68 61 6e |s with l|ess than|
|00001b00| 0d 09 09 09 32 35 35 20 | 63 6f 6c 6f 72 73 2e 20 |....255 |colors. |
|00001b10| 20 46 6f 72 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 | For col|or table|
|00001b20| 20 61 6e 69 6d 61 74 69 | 6f 6e 20 75 73 69 6e 67 | animati|on using|
|00001b30| 20 61 6e 20 6f 66 66 73 | 63 72 65 65 6e 0d 09 09 | an offs|creen...|
|00001b40| 09 67 44 65 76 69 63 65 | 20 77 2f 20 50 6f 72 74 |.gDevice| w/ Port|
|00001b50| 2c 20 69 74 20 75 73 65 | 73 20 74 68 65 20 43 6f |, it use|s the Co|
|00001b60| 6c 6f 72 20 4d 61 6e 61 | 67 65 72 20 61 6e 64 20 |lor Mana|ger and |
|00001b70| 68 61 6e 64 6c 65 73 20 | 74 68 65 0d 09 09 09 63 |handles |the....c|
|00001b80| 6f 6c 6f 72 73 20 69 74 | 73 65 6c 66 2e 20 20 53 |olors it|self. S|
|00001b90| 74 72 69 63 74 20 63 6f | 6d 70 61 74 69 62 69 6c |trict co|mpatibil|
|00001ba0| 69 74 79 20 77 61 73 20 | 72 65 6c 61 78 65 64 20 |ity was |relaxed |
|00001bb0| 74 6f 20 61 6c 6c 6f 77 | 20 66 6f 72 0d 09 09 09 |to allow| for....|
|00001bc0| 61 20 68 69 67 68 65 72 | 20 70 65 72 66 6f 72 6d |a higher| perform|
|00001bd0| 61 6e 63 65 20 70 72 6f | 67 72 61 6d 2e 20 20 54 |ance pro|gram. T|
|00001be0| 68 69 73 20 69 73 20 74 | 68 65 20 6d 6f 73 74 20 |his is t|he most |
|00001bf0| d4 72 65 61 6c d5 20 6f | 66 20 74 68 65 0d 09 09 |.real. o|f the...|
|00001c00| 09 73 61 6d 70 6c 65 20 | 70 72 6f 67 72 61 6d 73 |.sample |programs|
|00001c10| 2e 0d 09 09 09 57 72 69 | 74 74 65 6e 20 69 6e 20 |.....Wri|tten in |
|00001c20| 4d 61 63 41 70 70 20 4f | 62 6a 65 63 74 20 50 61 |MacApp O|bject Pa|
|00001c30| 73 63 61 6c 20 63 6f 64 | 65 2e 0d 09 09 09 43 6f |scal cod|e.....Co|
|00001c40| 6d 70 61 74 69 62 69 6c | 69 74 79 20 72 61 74 69 |mpatibil|ity rati|
|00001c50| 6e 67 20 3d 20 32 2e 20 | 20 28 6e 6f 74 68 69 6e |ng = 2. | (nothin|
|00001c60| 67 20 77 69 6c 6c 20 62 | 72 65 61 6b 2c 20 62 75 |g will b|reak, bu|
|00001c70| 74 20 69 74 20 6d 61 79 | 20 6e 6f 74 0d 09 09 09 |t it may| not....|
|00001c80| 09 61 6c 77 61 79 73 20 | 6c 6f 6f 6b 20 63 6f 72 |.always |look cor|
|00001c90| 72 65 63 74 2e 29 0d 09 | 09 0d 09 09 46 72 61 63 |rect.)..|....Frac|
|00001ca0| 41 70 70 33 30 30 3a 0d | 09 09 09 54 68 69 73 20 |App300:.|...This |
|00001cb0| 64 6f 65 73 6e 27 74 20 | 73 75 70 70 6f 72 74 20 |doesn't |support |
|00001cc0| 63 6f 6c 6f 72 73 2c 20 | 62 75 74 20 64 65 6d 6f |colors, |but demo|
|00001cd0| 6e 73 74 72 61 74 65 73 | 20 68 6f 77 20 74 6f 20 |nstrates| how to |
|00001ce0| 63 72 65 61 74 65 20 61 | 6e 64 0d 09 09 09 75 73 |create a|nd....us|
|00001cf0| 65 20 61 20 33 30 30 20 | 64 70 69 20 62 69 74 6d |e a 300 |dpi bitm|
|00001d00| 61 70 20 77 2f 20 50 6f | 72 74 2e 20 20 54 68 65 |ap w/ Po|rt. The|
|00001d10| 20 62 69 74 6d 61 70 20 | 69 73 20 70 72 69 6e 74 | bitmap |is print|
|00001d20| 65 64 20 61 74 20 66 75 | 6c 6c 0d 09 09 09 72 65 |ed at fu|ll....re|
|00001d30| 73 6f 6c 75 74 69 6f 6e | 20 6f 6e 20 4c 61 73 65 |solution| on Lase|
|00001d40| 72 57 72 69 74 65 72 73 | 2c 20 61 6e 64 20 63 6c |rWriters|, and cl|
|00001d50| 69 70 70 65 64 20 6f 6e | 20 6f 74 68 65 72 20 70 |ipped on| other p|
|00001d60| 72 69 6e 74 65 72 73 20 | 28 62 75 74 0d 09 09 09 |rinters |(but....|
|00001d70| 74 68 65 79 20 73 74 69 | 6c 6c 20 70 72 69 6e 74 |they sti|ll print|
|00001d80| 29 2e 20 20 49 74 20 64 | 65 6d 6f 6e 73 74 72 61 |). It d|emonstra|
|00001d90| 74 65 73 20 68 6f 77 20 | 74 6f 20 75 73 65 20 61 |tes how |to use a|
|00001da0| 20 68 69 67 68 20 72 65 | 73 6f 6c 75 74 69 6f 6e | high re|solution|
|00001db0| 0d 09 09 09 69 6d 61 67 | 65 20 61 73 20 61 20 50 |....imag|e as a P|
|00001dc0| 49 43 54 20 66 69 6c 65 | 2c 20 61 6e 64 20 68 6f |ICT file|, and ho|
|00001dd0| 77 20 74 6f 20 70 72 69 | 6e 74 20 74 68 65 6d 20 |w to pri|nt them |
|00001de0| 6f 75 74 2e 0d 09 09 09 | 57 72 69 74 74 65 6e 20 |out.....|Written |
|00001df0| 69 6e 20 4d 61 63 41 70 | 70 20 4f 62 6a 65 63 74 |in MacAp|p Object|
|00001e00| 20 50 61 73 63 61 6c 20 | 63 6f 64 65 2e 0d 09 09 | Pascal |code....|
|00001e10| 09 43 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 72 |.Compati|bility r|
|00001e20| 61 74 69 6e 67 20 3d 20 | 31 2e 20 20 28 54 68 65 |ating = |1. (The|
|00001e30| 20 75 73 65 20 6f 66 20 | 50 72 47 65 6e 65 72 61 | use of |PrGenera|
|00001e40| 6c 20 69 73 20 73 6c 69 | 67 68 74 6c 79 20 0d 09 |l is sli|ghtly ..|
|00001e50| 09 09 09 6f 75 74 20 6f | 66 20 74 68 65 20 6f 72 |...out o|f the or|
|00001e60| 64 69 6e 61 72 79 2c 20 | 61 6c 74 68 6f 75 67 68 |dinary, |although|
|00001e70| 20 73 75 70 70 6f 72 74 | 65 64 2e 29 0d 7d 0d 09 | support|ed.).}..|
|00001e80| 0d 7b 20 52 65 61 73 6f | 6e 73 20 66 6f 72 20 74 |.{ Reaso|ns for t|
|00001e90| 68 69 73 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 72 |his vers|ion of r|
|00001ea0| 65 61 6c 69 74 79 20 28 | 74 68 65 20 73 74 72 61 |eality (|the stra|
|00001eb0| 74 65 67 79 29 3a 0d 09 | 54 68 65 20 6d 61 69 6e |tegy):..|The main|
|00001ec0| 20 69 64 65 61 20 62 65 | 68 69 6e 64 20 74 68 69 | idea be|hind thi|
|00001ed0| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 74 6f 20 |s progra|m is to |
|00001ee0| 61 6c 6c 6f 77 20 79 6f | 75 20 74 6f 20 63 72 65 |allow yo|u to cre|
|00001ef0| 61 74 65 20 61 6e 64 20 | 66 6f 6f 6c 20 61 72 6f |ate and |fool aro|
|00001f00| 75 6e 64 20 0d 09 77 69 | 74 68 20 74 68 65 20 4d |und ..wi|th the M|
|00001f10| 61 6e 64 65 6c 62 72 6f | 74 20 73 65 74 2c 20 75 |andelbro|t set, u|
|00001f20| 73 69 6e 67 20 74 68 69 | 73 20 6e 75 6d 62 65 72 |sing thi|s number|
|00001f30| 20 63 72 75 6e 63 68 65 | 72 20 77 69 7a 7a 6f 20 | crunche|r wizzo |
|00001f40| 63 6f 6d 70 75 74 65 72 | 20 77 65 20 67 6f 74 0d |computer| we got.|
|00001f50| 09 68 65 72 65 2e 20 20 | 57 68 69 6c 65 20 77 65 |.here. |While we|
|00001f60| 20 61 72 65 20 6d 61 6b | 69 6e 67 20 74 68 65 73 | are mak|ing thes|
|00001f70| 65 20 64 6f 63 75 6d 65 | 6e 74 73 2c 20 77 65 20 |e docume|nts, we |
|00001f80| 61 6c 73 6f 20 74 68 72 | 6f 77 20 69 6e 20 61 20 |also thr|ow in a |
|00001f90| 63 6f 75 70 6c 65 20 6f | 66 0d 09 73 70 65 63 69 |couple o|f..speci|
|00001fa0| 61 6c 20 65 66 66 65 63 | 74 73 20 74 6f 20 6d 61 |al effec|ts to ma|
|00001fb0| 6b 65 20 69 74 20 6d 6f | 72 65 20 66 75 6e 2c 20 |ke it mo|re fun, |
|00001fc0| 6c 69 6b 65 20 74 68 65 | 20 73 70 65 63 69 61 6c |like the| special|
|00001fd0| 20 63 6f 6c 6f 72 20 6d | 61 70 70 69 6e 67 20 61 | color m|apping a|
|00001fe0| 6e 64 20 74 68 65 0d 09 | 63 6f 6c 6f 72 20 74 61 |nd the..|color ta|
|00001ff0| 62 6c 65 20 72 6f 74 61 | 74 69 6f 6e 2e 20 20 54 |ble rota|tion. T|
|00002000| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 69 |his prog|ram is i|
|00002010| 6e 74 65 6e 64 65 64 20 | 74 6f 20 62 65 20 61 20 |ntended |to be a |
|00002020| 72 65 61 6c 2d 6c 69 66 | 65 20 70 72 6f 67 72 61 |real-lif|e progra|
|00002030| 6d 2c 0d 09 64 6f 6e 65 | 20 61 73 20 77 65 6c 6c |m,..done| as well|
|00002040| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 20 67 69 76 | as poss|ible giv|
|00002050| 65 6e 20 63 75 72 72 65 | 6e 74 20 63 6f 6e 73 74 |en curre|nt const|
|00002060| 72 61 69 6e 74 73 2e 20 | 20 54 68 65 20 70 72 6f |raints. | The pro|
|00002070| 67 72 61 6d 20 69 73 20 | 73 75 70 70 6f 73 65 64 |gram is |supposed|
|00002080| 0d 09 74 6f 20 62 65 20 | 73 6f 6d 65 74 68 69 6e |..to be |somethin|
|00002090| 67 20 74 68 61 74 20 73 | 6f 6d 65 62 6f 64 79 20 |g that s|omebody |
|000020a0| 28 77 68 6f 20 77 61 73 | 20 73 69 6c 6c 79 20 70 |(who was| silly p|
|000020b0| 65 72 68 61 70 73 29 20 | 6d 69 67 68 74 20 74 72 |erhaps) |might tr|
|000020c0| 79 20 74 6f 20 73 65 6c | 6c 2e 0d 09 54 68 65 20 |y to sel|l...The |
|000020d0| 69 64 65 61 20 69 73 20 | 74 6f 20 70 72 65 74 65 |idea is |to prete|
|000020e0| 6e 64 20 74 68 61 74 20 | 77 65 20 61 72 65 20 64 |nd that |we are d|
|000020f0| 65 76 65 6c 6f 70 65 72 | 73 20 61 73 20 77 65 6c |eveloper|s as wel|
|00002100| 6c 2c 20 74 65 73 74 69 | 6e 67 20 74 68 65 20 64 |l, testi|ng the d|
|00002110| 65 76 65 6c 6f 70 6d 65 | 6e 74 0d 09 77 6f 72 6c |evelopme|nt..worl|
|00002120| 64 20 61 73 20 77 65 6c | 6c 20 61 73 20 6d 61 6b |d as wel|l as mak|
|00002130| 69 6e 67 20 61 20 66 75 | 6e 20 70 72 6f 67 72 61 |ing a fu|n progra|
|00002140| 6d 2e 20 20 57 65 6c 6c | 2c 20 6c 69 66 65 d5 73 |m. Well|, life.s|
|00002150| 20 61 20 62 69 74 63 68 | 20 61 73 20 61 20 64 65 | a bitch| as a de|
|00002160| 76 65 6c 6f 70 65 72 0d | 09 74 72 79 69 6e 67 20 |veloper.|.trying |
|00002170| 74 6f 20 77 72 69 74 65 | 20 61 20 70 72 6f 67 72 |to write| a progr|
|00002180| 61 6d 20 6f 66 20 74 68 | 69 73 20 66 6f 72 6d 2e |am of th|is form.|
|00002190| 20 20 4e 6f 20 69 6e 74 | 65 6e 74 69 6f 6e 61 6c | No int|entional|
|000021a0| 20 73 68 6f 72 74 63 75 | 74 73 20 77 65 72 65 20 | shortcu|ts were |
|000021b0| 74 61 6b 65 6e 0d 09 69 | 6e 20 74 68 65 20 70 72 |taken..i|n the pr|
|000021c0| 6f 67 72 61 6d 2c 20 62 | 75 74 20 73 6f 6d 65 20 |ogram, b|ut some |
|000021d0| 74 68 69 6e 67 73 20 77 | 65 72 65 20 6c 65 66 74 |things w|ere left|
|000021e0| 20 6f 75 74 20 64 75 65 | 20 74 6f 20 74 69 6d 65 | out due| to time|
|000021f0| 20 63 6f 6e 73 74 72 61 | 69 6e 74 73 2e 20 20 4c | constra|ints. L|
|00002200| 69 6b 65 0d 09 61 6c 6c | 20 72 65 61 6c 20 70 72 |ike..all| real pr|
|00002210| 6f 67 72 61 6d 73 2c 20 | 73 6f 6d 65 20 70 65 6f |ograms, |some peo|
|00002220| 70 6c 65 20 77 69 6c 6c | 20 6c 69 6b 65 20 69 74 |ple will| like it|
|00002230| 20 61 6e 64 20 73 6f 6d | 65 20 70 65 6f 70 6c 65 | and som|e people|
|00002240| 20 77 69 6c 6c 20 68 61 | 74 65 20 69 74 2e 20 20 | will ha|te it. |
|00002250| 49 0d 09 68 6f 70 65 20 | 79 6f 75 20 6c 69 6b 65 |I..hope |you like|
|00002260| 20 69 74 2c 20 62 75 74 | 20 69 66 20 79 6f 75 20 | it, but| if you |
|00002270| 64 6f 6e d5 74 2c 20 73 | 65 6e 64 20 6d 65 20 73 |don.t, s|end me s|
|00002280| 6f 6d 65 20 6d 61 69 6c | 20 74 65 6c 6c 69 6e 67 |ome mail| telling|
|00002290| 20 6d 65 20 77 68 79 2e | 0d 09 0d 09 54 68 65 20 | me why.|....The |
|000022a0| 6f 76 65 72 61 6c 6c 20 | 73 74 72 75 63 74 75 72 |overall |structur|
|000022b0| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 67 72 61 6d |e of the| program|
|000022c0| 20 69 73 20 74 6f 20 68 | 61 76 65 20 74 68 65 20 | is to h|ave the |
|000022d0| 4d 61 63 41 70 70 20 44 | 6f 63 75 6d 65 6e 74 20 |MacApp D|ocument |
|000022e0| 6f 62 6a 65 63 74 0d 09 | 68 61 6e 64 6c 65 20 61 |object..|handle a|
|000022f0| 6c 6c 20 74 68 65 20 64 | 61 74 61 2e 20 20 54 68 |ll the d|ata. Th|
|00002300| 69 73 20 69 6e 63 6c 75 | 64 65 73 20 61 6e 20 6f |is inclu|des an o|
|00002310| 66 66 73 63 72 65 65 6e | 20 67 44 65 76 69 63 65 |ffscreen| gDevice|
|00002320| 20 61 6e 64 20 70 6f 72 | 74 20 74 68 61 74 20 61 | and por|t that a|
|00002330| 72 65 0d 09 74 68 65 20 | 61 63 74 75 61 6c 20 66 |re..the |actual f|
|00002340| 72 61 63 74 61 6c 20 64 | 61 74 61 2e 20 20 54 68 |ractal d|ata. Th|
|00002350| 65 20 56 69 65 77 20 6f | 62 6a 65 63 74 20 75 73 |e View o|bject us|
|00002360| 65 73 20 74 68 65 20 44 | 6f 63 75 6d 65 6e 74 d5 |es the D|ocument.|
|00002370| 73 20 64 61 74 61 20 74 | 6f 20 64 72 61 77 0d 09 |s data t|o draw..|
|00002380| 69 6e 74 6f 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |into the| window |
|00002390| 76 69 73 69 62 6c 65 20 | 74 6f 20 74 68 65 20 75 |visible |to the u|
|000023a0| 73 65 72 2e 20 20 54 68 | 65 20 44 6f 63 75 6d 65 |ser. Th|e Docume|
|000023b0| 6e 74 20 64 6f 65 73 20 | 61 6c 6c 20 74 68 65 20 |nt does |all the |
|000023c0| 77 6f 72 6b 20 6f 66 0d | 09 63 61 6c 63 75 6c 61 |work of.|.calcula|
|000023d0| 74 69 6e 67 20 6e 65 77 | 20 66 72 61 63 74 61 6c |ting new| fractal|
|000023e0| 73 20 64 75 72 69 6e 67 | 20 49 64 6c 65 20 74 69 |s during| Idle ti|
|000023f0| 6d 65 73 2e 20 20 49 74 | 20 61 6c 73 6f 20 68 61 |mes. It| also ha|
|00002400| 6e 64 6c 65 73 20 73 61 | 76 69 6e 67 20 74 68 65 |ndles sa|ving the|
|00002410| 0d 09 64 61 74 61 20 74 | 6f 20 64 69 73 6b 20 61 |..data t|o disk a|
|00002420| 6e 64 20 72 65 61 64 69 | 6e 67 20 69 74 20 62 61 |nd readi|ng it ba|
|00002430| 63 6b 2e 20 20 54 68 65 | 20 64 61 74 61 20 66 69 |ck. The| data fi|
|00002440| 6c 65 73 20 61 72 65 20 | 50 49 43 54 20 73 6f 20 |les are |PICT so |
|00002450| 61 73 20 74 6f 20 62 65 | 20 61 73 0d 09 63 6f 6d |as to be| as..com|
|00002460| 70 61 74 69 62 6c 65 20 | 61 73 20 77 65 20 63 61 |patible |as we ca|
|00002470| 6e 2e 20 20 54 68 65 20 | 63 6f 6c 6f 72 20 74 61 |n. The |color ta|
|00002480| 62 6c 65 20 61 6e 69 6d | 61 74 69 6f 6e 20 69 73 |ble anim|ation is|
|00002490| 20 68 61 6e 64 6c 65 64 | 20 62 79 20 74 68 65 20 | handled| by the |
|000024a0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 0d 09 6f 62 6a |Applicat|ion..obj|
|000024b0| 65 63 74 20 64 75 72 69 | 6e 67 20 69 74 73 20 49 |ect duri|ng its I|
|000024c0| 64 6c 65 20 70 72 6f 63 | 65 73 73 69 6e 67 2e 20 |dle proc|essing. |
|000024d0| 20 54 68 65 20 70 72 6f | 67 72 61 6d 20 68 61 6e | The pro|gram han|
|000024e0| 64 6c 65 73 20 7a 6f 6f | 6d 69 6e 67 20 69 6e 20 |dles zoo|ming in |
|000024f0| 74 6f 0d 09 73 65 65 20 | 63 6c 6f 73 65 72 20 76 |to..see |closer v|
|00002500| 69 65 77 73 20 6f 66 20 | 74 68 65 20 65 6e 76 69 |iews of |the envi|
|00002510| 72 6f 6e 6d 65 6e 74 2c | 20 75 73 69 6e 67 20 73 |ronment,| using s|
|00002520| 65 6c 65 63 74 69 6f 6e | 20 72 65 63 74 61 6e 67 |election| rectang|
|00002530| 6c 65 73 20 61 73 20 79 | 6f 75 0d 09 77 6f 75 6c |les as y|ou..woul|
|00002540| 64 20 65 78 70 65 63 74 | 2e 20 20 54 68 69 73 20 |d expect|. This |
|00002550| 77 68 6f 6c 65 20 62 6c | 6f 63 6b 20 6f 66 20 63 |whole bl|ock of c|
|00002560| 6f 6d 6d 65 6e 74 73 20 | 61 74 20 74 68 65 20 62 |omments |at the b|
|00002570| 65 67 69 6e 6e 69 6e 67 | 20 61 72 65 20 69 6e 74 |eginning| are int|
|00002580| 65 6e 64 65 64 0d 09 74 | 6f 20 64 65 73 63 72 69 |ended..t|o descri|
|00002590| 62 65 20 73 6f 6d 65 20 | 6d 6f 72 65 20 6d 61 63 |be some |more mac|
|000025a0| 72 6f 73 63 6f 70 69 63 | 20 70 72 6f 62 6c 65 6d |roscopic| problem|
|000025b0| 73 20 61 6e 64 20 73 74 | 72 75 63 74 75 72 65 2e |s and st|ructure.|
|000025c0| 20 20 49 6e 20 74 68 65 | 20 63 6f 64 65 20 0d 09 | In the| code ..|
|000025d0| 69 74 73 65 6c 66 20 79 | 6f 75 20 77 69 6c 6c 20 |itself y|ou will |
|000025e0| 66 69 6e 64 20 74 68 65 | 20 74 61 63 74 69 63 61 |find the| tactica|
|000025f0| 6c 20 63 6f 6d 6d 65 6e | 74 73 20 64 65 61 6c 69 |l commen|ts deali|
|00002600| 6e 67 20 77 69 74 68 20 | 68 6f 77 20 61 20 73 70 |ng with |how a sp|
|00002610| 65 63 69 66 69 63 0d 09 | 6f 70 65 72 61 74 69 6f |ecific..|operatio|
|00002620| 6e 20 69 73 20 64 6f 6e | 65 2e 20 20 0d 09 0d 09 |n is don|e. ....|
|00002630| 54 68 65 20 66 72 61 63 | 74 61 6c 20 63 61 6c 63 |The frac|tal calc|
|00002640| 75 6c 61 74 69 6f 6e 20 | 69 73 20 64 6f 6e 65 20 |ulation |is done |
|00002650| 62 79 20 74 68 65 20 43 | 61 6c 63 43 69 74 79 20 |by the C|alcCity |
|00002660| 72 6f 75 74 69 6e 65 20 | 6f 66 20 74 68 65 20 44 |routine |of the D|
|00002670| 6f 63 75 6d 65 6e 74 2e | 20 20 54 68 65 0d 09 41 |ocument.| The..A|
|00002680| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6f 62 6a 65 63 |pplicati|on objec|
|00002690| 74 20 67 65 74 73 20 74 | 68 65 20 44 6f 49 64 6c |t gets t|he DoIdl|
|000026a0| 65 20 63 61 6c 6c 2c 20 | 61 6e 64 20 68 65 20 63 |e call, |and he c|
|000026b0| 61 6c 6c 73 20 65 61 63 | 68 20 64 6f 63 75 6d 65 |alls eac|h docume|
|000026c0| 6e 74 20 74 6f 20 0d 09 | 68 61 76 65 20 61 20 70 |nt to ..|have a p|
|000026d0| 69 78 65 6c 20 63 61 6c | 63 75 6c 61 74 65 64 20 |ixel cal|culated |
|000026e0| 69 6e 20 65 61 63 68 20 | 64 6f 63 75 6d 65 6e 74 |in each |document|
|000026f0| 2e 20 20 54 68 65 20 63 | 61 6c 63 75 6c 61 74 69 |. The c|alculati|
|00002700| 6f 6e 20 69 73 20 64 6f | 6e 65 20 61 20 70 69 78 |on is do|ne a pix|
|00002710| 65 6c 0d 09 61 74 20 61 | 20 74 69 6d 65 20 73 6f |el..at a| time so|
|00002720| 20 74 68 61 74 20 69 74 | 20 63 61 6e 20 62 65 20 | that it| can be |
|00002730| 64 6f 6e 65 20 69 6e 20 | 74 68 65 20 62 61 63 6b |done in |the back|
|00002740| 67 72 6f 75 6e 64 20 77 | 69 74 68 20 6e 6f 20 76 |ground w|ith no v|
|00002750| 69 73 69 62 6c 65 20 65 | 66 66 65 63 74 0d 09 6f |isible e|ffect..o|
|00002760| 6e 20 74 68 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |n the fo|reground|
|00002770| 20 61 70 70 2e 20 20 41 | 73 20 65 61 63 68 20 68 | app. A|s each h|
|00002780| 6f 72 69 7a 6f 6e 74 61 | 6c 20 6c 69 6e 65 20 6f |orizonta|l line o|
|00002790| 66 20 64 61 74 61 20 69 | 73 20 66 69 6e 69 73 68 |f data i|s finish|
|000027a0| 65 64 20 69 74 20 69 73 | 20 0d 09 75 70 64 61 74 |ed it is| ..updat|
|000027b0| 65 64 20 74 6f 20 74 68 | 65 20 73 63 72 65 65 6e |ed to th|e screen|
|000027c0| 2e 20 20 54 68 65 20 61 | 6c 67 6f 72 69 74 68 6d |. The a|lgorithm|
|000027d0| 20 69 73 20 76 65 72 79 | 20 73 69 6d 70 6c 65 2e | is very| simple.|
|000027e0| 0d 09 0d 09 54 68 65 20 | 63 6f 6c 6f 72 20 68 61 |....The |color ha|
|000027f0| 6e 64 6c 69 6e 67 20 74 | 6f 20 62 65 20 61 73 20 |ndling t|o be as |
|00002800| 6e 69 63 65 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |nice as |possible|
|00002810| 20 75 6e 64 65 72 20 4d | 75 6c 74 69 46 69 6e 64 | under M|ultiFind|
|00002820| 65 72 20 69 73 20 66 6f | 75 6e 64 20 69 6e 0d 09 |er is fo|und in..|
|00002830| 74 68 65 20 41 62 6f 75 | 74 54 6f 4c 6f 73 65 43 |the Abou|tToLoseC|
|00002840| 6f 6e 74 72 6f 6c 20 61 | 6e 64 20 52 65 67 61 69 |ontrol a|nd Regai|
|00002850| 6e 43 6f 6e 74 72 6f 6c | 20 6d 65 74 68 6f 64 73 |nControl| methods|
|00002860| 20 6f 66 20 74 68 65 20 | 41 70 70 6c 69 63 61 74 | of the |Applicat|
|00002870| 69 6f 6e 2e 20 20 49 6e | 0d 09 61 64 64 69 74 69 |ion. In|..additi|
|00002880| 6f 6e 2c 20 74 68 65 20 | 63 6f 6c 6f 72 20 74 61 |on, the |color ta|
|00002890| 62 6c 65 20 61 6e 69 6d | 61 74 69 6f 6e 20 69 73 |ble anim|ation is|
|000028a0| 20 64 6f 6e 65 20 62 79 | 20 74 68 65 20 52 6f 74 | done by| the Rot|
|000028b0| 61 74 65 43 6f 6c 6f 72 | 73 20 72 6f 75 74 69 6e |ateColor|s routin|
|000028c0| 65 2c 0d 09 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 |e,..call|ed from |
|000028d0| 74 68 65 20 41 70 70 6c | 69 63 61 74 69 6f 6e 27 |the Appl|ication'|
|000028e0| 73 20 44 6f 49 64 6c 65 | 20 6d 65 74 68 6f 64 20 |s DoIdle| method |
|000028f0| 61 66 74 65 72 20 69 74 | 20 67 69 76 65 73 20 73 |after it| gives s|
|00002900| 6f 6d 65 20 43 50 55 20 | 74 69 6d 65 0d 09 74 6f |ome CPU |time..to|
|00002910| 20 65 61 63 68 20 6f 70 | 65 6e 20 64 6f 63 75 6d | each op|en docum|
|00002920| 65 6e 74 2e 20 20 54 68 | 65 20 68 61 6e 64 6c 69 |ent. Th|e handli|
|00002930| 6e 67 20 6f 66 20 74 68 | 65 20 67 44 65 76 69 63 |ng of th|e gDevic|
|00002940| 65 73 20 6f 6e 20 74 68 | 65 20 73 79 73 74 65 6d |es on th|e system|
|00002950| 2c 20 65 73 73 65 6e 74 | 69 61 6c 6c 79 0d 09 61 |, essent|ially..a|
|00002960| 6c 6c 20 74 68 65 20 77 | 6f 72 6b 20 74 68 65 20 |ll the w|ork the |
|00002970| 50 61 6c 65 74 74 65 20 | 4d 61 6e 61 67 65 72 20 |Palette |Manager |
|00002980| 77 6f 75 6c 64 20 68 61 | 76 65 20 64 6f 6e 65 20 |would ha|ve done |
|00002990| 66 6f 72 20 75 73 20 63 | 61 6e 20 62 65 20 66 6f |for us c|an be fo|
|000029a0| 75 6e 64 20 69 6e 20 0d | 09 74 68 65 20 47 61 72 |und in .|.the Gar|
|000029b0| 44 65 76 69 63 65 20 6d | 65 74 68 6f 64 73 2e 20 |Device m|ethods. |
|000029c0| 20 54 68 6f 73 65 20 68 | 61 6e 64 6c 65 20 63 68 | Those h|andle ch|
|000029d0| 61 6e 67 69 6e 67 20 74 | 68 65 20 63 6f 6c 6f 72 |anging t|he color|
|000029e0| 73 20 61 6e 64 20 63 6f | 6c 6f 72 20 74 61 62 6c |s and co|lor tabl|
|000029f0| 65 0d 09 61 6e 69 6d 61 | 74 69 6f 6e 2e 0d 09 0d |e..anima|tion....|
|00002a00| 09 41 6c 6c 6f 63 61 74 | 69 6e 67 20 61 6e 64 20 |.Allocat|ing and |
|00002a10| 75 73 69 6e 67 20 61 6e | 20 6f 66 66 73 63 72 65 |using an| offscre|
|00002a20| 65 6e 20 67 44 65 76 69 | 63 65 20 61 6e 64 20 70 |en gDevi|ce and p|
|00002a30| 6f 72 74 20 61 72 65 20 | 66 6f 75 6e 64 20 69 6e |ort are |found in|
|00002a40| 20 74 68 65 20 44 6f 63 | 75 6d 65 6e 74 0d 09 6f | the Doc|ument..o|
|00002a50| 62 6a 65 63 74 2c 20 61 | 73 20 74 68 65 20 42 75 |bject, a|s the Bu|
|00002a60| 69 6c 64 4f 66 66 57 6f | 72 6c 64 20 6d 65 74 68 |ildOffWo|rld meth|
|00002a70| 6f 64 2e 20 20 54 68 65 | 20 70 6f 72 74 20 6f 66 |od. The| port of|
|00002a80| 66 73 63 72 65 65 6e 20 | 69 73 20 75 73 65 64 20 |fscreen |is used |
|00002a90| 61 73 20 61 20 64 72 61 | 77 69 6e 67 0d 09 65 6e |as a dra|wing..en|
|00002aa0| 76 69 72 6f 6e 6d 65 6e | 74 20 6f 6e 63 65 20 61 |vironmen|t once a|
|00002ab0| 20 70 69 78 65 6c 20 69 | 73 20 63 61 6c 63 75 6c | pixel i|s calcul|
|00002ac0| 61 74 65 64 2c 20 61 73 | 20 73 65 65 6e 20 69 6e |ated, as| seen in|
|00002ad0| 20 44 6f 49 64 6c 65 20 | 66 6f 72 20 74 68 65 20 | DoIdle |for the |
|00002ae0| 44 6f 63 75 6d 65 6e 74 | 2e 0d 0d 0d 09 59 6f 75 |Document|.....You|
|00002af0| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 74 68 65 20 | should |use the |
|00002b00| 50 61 6c 65 74 74 65 20 | 4d 61 6e 61 67 65 72 20 |Palette |Manager |
|00002b10| 69 66 20 61 74 20 61 6c | 6c 20 70 6f 73 73 69 62 |if at al|l possib|
|00002b20| 6c 65 2e 20 20 46 6f 72 | 20 6f 74 68 65 72 20 72 |le. For| other r|
|00002b30| 65 66 65 72 65 6e 63 65 | 73 0d 09 73 65 65 20 74 |eference|s..see t|
|00002b40| 68 65 20 6f 74 68 65 72 | 20 73 61 6d 70 6c 65 20 |he other| sample |
|00002b50| 70 72 6f 67 72 61 6d 73 | 20 69 6e 20 74 68 69 73 |programs| in this|
|00002b60| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 2e 20 20 0d 09 | collect|ion. ..|
|00002b70| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 64 6f 65 |This pro|gram doe|
|00002b80| 73 20 6e 6f 74 20 66 75 | 6c 6c 79 20 75 73 65 20 |s not fu|lly use |
|00002b90| 74 68 65 20 0d 09 50 61 | 6c 65 74 74 65 20 4d 61 |the ..Pa|lette Ma|
|00002ba0| 6e 61 67 65 72 2e 20 20 | 49 20 61 70 6f 6c 6f 67 |nager. |I apolog|
|00002bb0| 69 7a 65 2e 20 20 54 68 | 65 20 50 61 6c 65 74 74 |ize. Th|e Palett|
|00002bc0| 65 20 4d 61 6e 61 67 65 | 72 20 68 61 73 20 74 77 |e Manage|r has tw|
|00002bd0| 6f 20 6d 61 6a 6f 72 0d | 09 66 6c 61 77 73 20 66 |o major.|.flaws f|
|00002be0| 6f 72 20 61 20 70 72 6f | 67 72 61 6d 20 6f 66 20 |or a pro|gram of |
|00002bf0| 74 68 69 73 20 66 6f 72 | 6d 2e 20 20 49 74 20 64 |this for|m. It d|
|00002c00| 6f 65 73 20 6e 6f 74 20 | 70 72 6f 76 69 64 65 20 |oes not |provide |
|00002c10| 61 20 63 6f 6e 76 65 6e | 69 65 6e 74 20 77 61 79 |a conven|ient way|
|00002c20| 20 74 6f 20 0d 09 72 65 | 6d 61 70 20 74 68 65 20 | to ..re|map the |
|00002c30| 63 6f 6c 6f 72 73 20 61 | 66 74 65 72 20 74 68 65 |colors a|fter the|
|00002c40| 20 63 6f 6c 6f 72 20 74 | 61 62 6c 65 20 69 73 20 | color t|able is |
|00002c50| 73 63 72 61 6d 62 6c 65 | 64 20 73 6f 20 74 68 61 |scramble|d so tha|
|00002c60| 74 20 75 70 64 61 74 65 | 73 20 74 6f 20 74 68 65 |t update|s to the|
|00002c70| 0d 09 73 63 72 65 65 6e | 20 63 61 6e 20 62 65 20 |..screen| can be |
|00002c80| 61 73 20 66 61 73 74 20 | 61 73 20 70 6f 73 73 69 |as fast |as possi|
|00002c90| 62 6c 65 3b 20 61 6e 64 | 20 69 74 20 64 6f 65 73 |ble; and| it does|
|00002ca0| 20 6e 6f 74 20 73 75 70 | 70 6f 72 74 20 61 20 73 | not sup|port a s|
|00002cb0| 69 6e 67 6c 65 20 61 6e | 69 6d 61 74 69 6e 67 20 |ingle an|imating |
|00002cc0| 0d 09 70 61 6c 65 74 74 | 65 20 75 73 65 64 20 66 |..palett|e used f|
|00002cd0| 6f 72 20 6d 75 6c 74 69 | 70 6c 65 20 77 69 6e 64 |or multi|ple wind|
|00002ce0| 6f 77 73 2e 20 20 54 68 | 65 20 66 69 72 73 74 20 |ows. Th|e first |
|00002cf0| 63 61 6e 20 62 65 20 70 | 61 72 74 69 61 6c 6c 79 |can be p|artially|
|00002d00| 20 73 6f 6c 76 65 64 20 | 75 73 69 6e 67 20 74 68 | solved |using th|
|00002d10| 65 0d 09 43 6f 70 79 42 | 69 74 73 20 74 6f 20 69 |e..CopyB|its to i|
|00002d20| 74 73 65 6c 66 20 74 72 | 69 63 6b 2c 20 62 75 74 |tself tr|ick, but|
|00002d30| 20 74 68 69 73 20 69 73 | 20 69 6e 63 6f 6e 76 65 | this is| inconve|
|00002d40| 6e 69 65 6e 74 20 77 68 | 69 6c 65 20 61 20 66 72 |nient wh|ile a fr|
|00002d50| 61 63 74 61 6c 20 69 73 | 20 62 65 69 6e 67 0d 09 |actal is| being..|
|00002d60| 63 61 6c 63 75 6c 61 74 | 65 64 2e 20 20 54 68 65 |calculat|ed. The|
|00002d70| 20 73 65 63 6f 6e 64 20 | 63 61 6e 20 6f 6e 6c 79 | second |can only|
|00002d80| 20 62 65 20 73 6f 6c 76 | 65 64 20 62 79 20 69 6e | be solv|ed by in|
|00002d90| 63 72 65 64 69 62 6c 65 | 20 68 61 63 6b 73 2c 20 |credible| hacks, |
|00002da0| 77 68 69 63 68 20 0d 09 | 77 6f 75 6c 64 20 6e 6f |which ..|would no|
|00002db0| 74 20 62 65 20 64 6f 6e | 65 20 69 6e 20 61 20 63 |t be don|e in a c|
|00002dc0| 6f 6d 6d 65 72 63 69 61 | 6c 20 70 72 6f 67 72 61 |ommercia|l progra|
|00002dd0| 6d 2e 20 20 54 68 65 20 | 70 72 6f 62 6c 65 6d 20 |m. The |problem |
|00002de0| 73 74 65 6d 73 20 66 72 | 6f 6d 20 68 61 76 69 6e |stems fr|om havin|
|00002df0| 67 0d 09 31 39 35 20 61 | 6e 69 6d 61 74 69 6e 67 |g..195 a|nimating|
|00002e00| 20 63 6f 6c 6f 72 73 20 | 66 6f 72 20 65 61 63 68 | colors |for each|
|00002e10| 20 77 69 6e 64 6f 77 2c | 20 62 75 74 20 49 20 6f | window,| but I o|
|00002e20| 6e 6c 79 20 77 69 73 68 | 20 74 6f 20 75 73 65 20 |nly wish| to use |
|00002e30| 31 39 35 20 63 6f 6c 6f | 72 73 0d 09 66 6f 72 20 |195 colo|rs..for |
|00002e40| 74 68 65 20 77 68 6f 6c | 65 20 70 72 6f 67 72 61 |the whol|e progra|
|00002e50| 6d 2c 20 6e 6f 74 20 65 | 61 63 68 20 77 69 6e 64 |m, not e|ach wind|
|00002e60| 6f 77 2e 20 20 49 6e 20 | 61 64 64 69 74 69 6f 6e |ow. In |addition|
|00002e70| 2c 20 74 68 69 73 20 69 | 73 20 31 39 35 20 61 6e |, this i|s 195 an|
|00002e80| 69 6d 61 74 69 6e 67 0d | 09 63 6f 6c 6f 72 73 2e |imating.|.colors.|
|00002e90| 20 20 49 66 20 74 68 65 | 79 20 77 65 72 65 20 73 | If the|y were s|
|00002ea0| 74 61 6e 64 61 72 64 20 | 63 6f 6c 6f 72 73 2c 20 |tandard |colors, |
|00002eb0| 74 68 65 6e 20 74 68 65 | 20 73 61 6d 65 20 65 6e |then the| same en|
|00002ec0| 74 72 69 65 73 20 69 6e | 20 74 68 65 20 74 61 62 |tries in| the tab|
|00002ed0| 6c 65 20 0d 09 77 6f 75 | 6c 64 20 62 65 20 75 73 |le ..wou|ld be us|
|00002ee0| 65 64 20 66 6f 72 20 6d | 75 6c 74 69 70 6c 65 20 |ed for m|ultiple |
|00002ef0| 77 69 6e 64 6f 77 73 2e | 20 54 68 65 20 61 6e 73 |windows.| The ans|
|00002f00| 77 65 72 20 74 6f 20 74 | 68 65 20 70 72 6f 62 6c |wer to t|he probl|
|00002f10| 65 6d 73 0d 09 77 61 73 | 20 74 6f 20 75 73 65 20 |ems..was| to use |
|00002f20| 74 68 65 20 43 6f 6c 6f | 72 20 4d 61 6e 61 67 65 |the Colo|r Manage|
|00002f30| 72 2c 20 61 6e 64 20 74 | 72 79 20 74 6f 20 62 65 |r, and t|ry to be|
|00002f40| 20 61 73 20 66 72 69 65 | 6e 64 6c 79 20 61 73 20 | as frie|ndly as |
|00002f50| 70 6f 73 73 69 62 6c 65 | 2e 20 20 57 68 65 6e 0d |possible|. When.|
|00002f60| 09 74 68 65 20 50 61 6c | 65 74 74 65 20 4d 61 6e |.the Pal|ette Man|
|00002f70| 61 67 65 72 20 69 73 20 | 66 69 78 65 64 2c 20 74 |ager is |fixed, t|
|00002f80| 68 65 20 70 72 6f 67 72 | 61 6d 20 63 61 6e 20 62 |he progr|am can b|
|00002f90| 65 20 72 65 76 69 73 65 | 64 20 74 6f 20 72 65 66 |e revise|d to ref|
|00002fa0| 6c 65 63 74 20 74 68 65 | 73 65 0d 09 63 68 61 6e |lect the|se..chan|
|00002fb0| 67 65 73 20 61 6e 64 20 | 6c 69 76 65 20 61 20 6d |ges and |live a m|
|00002fc0| 75 63 68 20 68 61 70 70 | 69 65 72 20 6c 69 66 65 |uch happ|ier life|
|00002fd0| 2e 0d 09 0d 09 54 68 65 | 20 43 6f 6c 6f 72 20 4d |.....The| Color M|
|00002fe0| 61 6e 61 67 65 72 20 69 | 73 20 75 73 65 64 2c 20 |anager i|s used, |
|00002ff0| 70 72 69 6d 61 72 69 6c | 79 20 74 68 65 20 53 65 |primaril|y the Se|
|00003000| 74 45 6e 74 72 69 65 73 | 20 63 61 6c 6c 20 69 6e |tEntries| call in|
|00003010| 20 6f 72 64 65 72 20 74 | 6f 20 73 65 74 0d 09 74 | order t|o set..t|
|00003020| 68 65 20 63 6f 6c 6f 72 | 20 65 6e 76 69 72 6f 6d |he color| envirom|
|00003030| 65 6e 74 20 74 68 65 20 | 77 61 79 20 77 65 20 6e |ent the |way we n|
|00003040| 65 65 64 20 69 74 2e 20 | 20 43 6f 6c 6f 72 20 53 |eed it. | Color S|
|00003050| 65 61 72 63 68 20 50 72 | 6f 63 73 20 61 72 65 20 |earch Pr|ocs are |
|00003060| 61 6c 73 6f 20 0d 09 75 | 73 65 64 20 74 6f 20 6d |also ..u|sed to m|
|00003070| 61 70 20 74 68 65 20 66 | 72 61 63 74 61 6c 73 20 |ap the f|ractals |
|00003080| 69 6e 74 6f 20 64 65 76 | 69 63 65 73 20 74 68 61 |into dev|ices tha|
|00003090| 74 20 68 61 76 65 20 66 | 65 77 65 72 20 63 6f 6c |t have f|ewer col|
|000030a0| 6f 72 73 2e 20 20 55 73 | 69 6e 67 0d 09 53 65 74 |ors. Us|ing..Set|
|000030b0| 45 6e 74 72 69 65 73 20 | 63 61 6e 20 62 65 20 61 |Entries |can be a|
|000030c0| 20 6c 69 74 74 6c 65 20 | 72 6f 75 67 68 20 73 69 | little |rough si|
|000030d0| 6e 63 65 20 74 68 65 20 | 50 61 6c 65 74 74 65 20 |nce the |Palette |
|000030e0| 4d 61 6e 61 67 65 72 20 | 69 73 20 61 6c 73 6f 20 |Manager |is also |
|000030f0| 75 73 69 6e 67 0d 09 69 | 74 20 74 6f 20 73 65 74 |using..i|t to set|
|00003100| 20 74 68 65 20 63 6f 6c | 6f 72 20 65 6e 76 69 72 | the col|or envir|
|00003110| 6f 6e 6d 65 6e 74 20 61 | 6e 64 20 64 6f 65 73 20 |onment a|nd does |
|00003120| 6e 6f 74 20 72 65 73 70 | 65 63 74 20 6f 75 72 20 |not resp|ect our |
|00003130| 75 73 65 20 6f 66 20 74 | 68 65 0d 09 63 6f 6c 6f |use of t|he..colo|
|00003140| 72 20 74 61 62 6c 65 2e | 20 20 46 72 61 63 41 70 |r table.| FracAp|
|00003150| 70 20 63 6f 75 6c 64 20 | 62 65 20 64 65 73 63 72 |p could |be descr|
|00003160| 69 62 65 64 20 61 73 20 | 50 61 6c 65 74 74 65 20 |ibed as |Palette |
|00003170| 4d 61 6e 61 67 65 72 20 | 61 77 61 72 65 2c 20 62 |Manager |aware, b|
|00003180| 75 74 0d 09 6e 6f 74 20 | 66 72 69 65 6e 64 6c 79 |ut..not |friendly|
|00003190| 2e 20 20 49 74 20 75 73 | 65 73 20 74 68 65 20 50 |. It us|es the P|
|000031a0| 4d 20 77 68 65 6e 65 76 | 65 72 20 69 74 20 63 61 |M whenev|er it ca|
|000031b0| 6e 2c 20 62 75 74 20 66 | 6f 72 20 74 68 65 20 66 |n, but f|or the f|
|000031c0| 61 6e 63 69 65 73 74 20 | 65 66 66 65 63 74 73 0d |anciest |effects.|
|000031d0| 09 69 74 20 6d 75 73 74 | 20 62 79 70 61 73 73 20 |.it must| bypass |
|000031e0| 74 68 65 20 50 4d 2e 20 | 20 55 73 69 6e 67 20 74 |the PM. | Using t|
|000031f0| 68 65 20 50 61 6c 65 74 | 74 65 20 4d 61 6e 61 67 |he Palet|te Manag|
|00003200| 65 72 20 69 73 20 66 61 | 72 20 61 6e 64 20 61 77 |er is fa|r and aw|
|00003210| 61 79 20 74 68 65 20 0d | 09 6d 6f 73 74 20 73 65 |ay the .|.most se|
|00003220| 6e 73 69 62 6c 65 20 74 | 68 69 6e 67 20 74 6f 20 |nsible t|hing to |
|00003230| 64 6f 2c 20 62 75 74 20 | 77 65 20 77 65 72 65 20 |do, but |we were |
|00003240| 73 74 75 63 6b 20 68 65 | 72 65 20 77 69 74 68 20 |stuck he|re with |
|00003250| 61 20 6c 6f 77 2d 70 65 | 72 66 6f 72 6d 61 6e 63 |a low-pe|rformanc|
|00003260| 65 0d 09 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 |e..progr|am that |
|00003270| 77 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 63 6f 6d |would no|t be com|
|00003280| 6d 65 72 63 69 61 6c 6c | 79 20 76 69 61 62 6c 65 |merciall|y viable|
|00003290| 2e 20 20 49 66 20 79 6f | 75 20 64 6f 6e d5 74 20 |. If yo|u don.t |
|000032a0| 6e 65 65 64 20 73 6f 6d | 65 0d 09 6f 66 20 74 68 |need som|e..of th|
|000032b0| 65 20 68 69 67 68 2d 65 | 6e 64 20 74 72 69 63 6b |e high-e|nd trick|
|000032c0| 73 20 70 6c 61 79 65 64 | 20 68 65 72 65 2c 20 79 |s played| here, y|
|000032d0| 6f 75 72 20 6c 69 66 65 | 20 77 69 6c 6c 20 62 65 |our life| will be|
|000032e0| 20 6d 75 63 68 20 65 61 | 73 69 65 72 20 69 66 20 | much ea|sier if |
|000032f0| 79 6f 75 0d 09 75 73 65 | 20 74 68 65 20 50 61 6c |you..use| the Pal|
|00003300| 65 74 74 65 20 4d 61 6e | 61 67 65 72 20 69 6e 73 |ette Man|ager ins|
|00003310| 74 65 61 64 2e 20 20 49 | 6e 20 70 61 72 74 69 63 |tead. I|n partic|
|00003320| 75 6c 61 72 2c 20 46 72 | 61 63 41 70 70 20 6b 6e |ular, Fr|acApp kn|
|00003330| 6f 77 73 20 61 6e 64 20 | 6b 65 65 70 73 0d 09 74 |ows and |keeps..t|
|00003340| 72 61 63 6b 20 6f 66 20 | 61 6c 6c 20 74 68 65 20 |rack of |all the |
|00003350| 4d 6f 6e 69 74 6f 72 73 | 20 63 6f 6e 6e 65 63 74 |Monitors| connect|
|00003360| 65 64 20 74 6f 20 74 68 | 65 20 6d 61 63 68 69 6e |ed to th|e machin|
|00003370| 65 2c 20 77 68 69 63 68 | 20 69 73 20 6e 6f 72 6d |e, which| is norm|
|00003380| 61 6c 6c 79 0d 09 64 6f | 6e 65 20 62 79 20 74 68 |ally..do|ne by th|
|00003390| 65 20 50 61 6c 65 74 74 | 65 20 4d 61 6e 61 67 65 |e Palett|e Manage|
|000033a0| 72 2e 20 20 49 66 20 79 | 6f 75 20 63 61 6e 20 64 |r. If y|ou can d|
|000033b0| 6f 20 69 74 2c 20 73 61 | 76 65 20 79 6f 75 72 73 |o it, sa|ve yours|
|000033c0| 65 6c 66 20 73 6f 6d 65 | 20 74 69 6d 65 0d 09 61 |elf some| time..a|
|000033d0| 6e 64 20 75 73 65 20 74 | 68 65 20 50 4d 2e 0d 09 |nd use t|he PM...|
|000033e0| 0d 09 54 68 69 73 20 63 | 6f 6c 6f 72 20 63 68 61 |..This c|olor cha|
|000033f0| 6e 67 69 6e 67 20 77 69 | 6c 6c 20 6f 6e 6c 79 20 |nging wi|ll only |
|00003400| 62 65 20 64 6f 6e 65 20 | 69 66 20 77 65 20 68 61 |be done |if we ha|
|00003410| 76 65 20 65 6e 6f 75 67 | 68 20 63 6f 6c 6f 72 73 |ve enoug|h colors|
|00003420| 20 69 6e 20 74 68 65 20 | 73 79 73 74 65 6d 0d 09 | in the |system..|
|00003430| 74 6f 20 64 6f 20 74 68 | 65 20 66 75 6c 6c 20 62 |to do th|e full b|
|00003440| 6c 6f 77 6e 20 66 72 61 | 63 74 61 6c 20 28 69 65 |lown fra|ctal (ie|
|00003450| 2e 20 3e 20 6b 4e 75 6d | 43 6f 6c 6f 72 73 29 2e |. > kNum|Colors).|
|00003460| 20 20 49 66 20 6e 6f 74 | 2c 20 77 65 20 63 61 6e | If not|, we can|
|00003470| d5 74 20 67 65 74 20 61 | 20 72 65 61 73 6f 6e 61 |.t get a| reasona|
|00003480| 62 6c 65 0d 09 66 72 61 | 63 74 61 6c 20 61 6e 79 |ble..fra|ctal any|
|00003490| 77 61 79 2c 20 73 6f 20 | 77 65 20 77 69 6c 6c 20 |way, so |we will |
|000034a0| 6a 75 73 74 20 64 6f 20 | 7a 65 62 72 61 20 66 72 |just do |zebra fr|
|000034b0| 61 63 74 61 6c 73 2e 20 | 20 54 68 69 73 20 77 61 |actals. | This wa|
|000034c0| 79 20 79 6f 75 20 63 61 | 6e 20 73 74 69 6c 6c 20 |y you ca|n still |
|000034d0| 0d 09 75 73 65 20 74 68 | 65 20 70 72 6f 67 72 61 |..use th|e progra|
|000034e0| 6d 20 69 6e 20 6c 65 73 | 73 65 72 20 63 6f 6c 6f |m in les|ser colo|
|000034f0| 72 20 6d 6f 64 65 73 2c | 20 69 74 20 6a 75 73 74 |r modes,| it just|
|00003500| 20 69 73 6e d5 74 20 61 | 73 20 69 6d 70 72 65 73 | isn.t a|s impres|
|00003510| 73 69 76 65 2e 20 20 54 | 68 69 73 20 69 73 20 66 |sive. T|his is f|
|00003520| 61 72 0d 09 70 72 65 66 | 65 72 61 62 6c 65 20 74 |ar..pref|erable t|
|00003530| 6f 20 61 20 d4 79 6f 75 | 20 6d 75 73 74 20 75 73 |o a .you| must us|
|00003540| 65 20 32 35 36 20 63 6f | 6c 6f 72 20 6d 6f 64 65 |e 256 co|lor mode|
|00003550| d5 20 64 69 61 6c 6f 67 | 2e 20 20 43 6f 6c 6f 72 |. dialog|. Color|
|00003560| 20 74 61 62 6c 65 20 61 | 6e 69 6d 61 74 69 6f 6e | table a|nimation|
|00003570| 20 0d 09 77 69 6c 6c 20 | 6f 6e 6c 79 20 62 65 20 | ..will |only be |
|00003580| 65 6e 61 62 6c 65 64 20 | 77 68 65 6e 20 72 75 6e |enabled |when run|
|00003590| 6e 69 6e 67 20 77 69 74 | 68 20 65 6e 6f 75 67 68 |ning wit|h enough|
|000035a0| 20 63 6f 6c 6f 72 73 2e | 20 20 49 66 20 77 65 20 | colors.| If we |
|000035b0| 68 61 76 65 20 65 6e 6f | 75 67 68 20 63 6f 6c 6f |have eno|ugh colo|
|000035c0| 72 73 20 0d 09 6f 6e 20 | 61 20 67 69 76 65 6e 20 |rs ..on |a given |
|000035d0| 6d 6f 6e 69 74 6f 72 20 | 74 68 65 6e 20 77 65 20 |monitor |then we |
|000035e0| 6a 75 73 74 20 73 65 74 | 20 74 68 65 20 63 74 53 |just set| the ctS|
|000035f0| 65 65 64 73 20 74 6f 20 | 6d 61 74 63 68 20 74 6f |eeds to |match to|
|00003600| 20 67 65 74 20 61 20 66 | 61 73 74 20 75 70 64 61 | get a f|ast upda|
|00003610| 74 65 2e 0d 09 0d 09 57 | 68 65 6e 20 77 65 20 73 |te.....W|hen we s|
|00003620| 65 74 20 75 70 20 74 68 | 65 20 6f 66 66 73 63 72 |et up th|e offscr|
|00003630| 65 65 6e 20 67 44 65 76 | 69 63 65 2c 20 77 65 20 |een gDev|ice, we |
|00003640| 73 65 74 20 69 74 20 75 | 70 20 75 73 69 6e 67 20 |set it u|p using |
|00003650| 61 20 33 20 62 69 74 20 | 69 54 61 62 6c 65 20 74 |a 3 bit |iTable t|
|00003660| 6f 20 73 61 76 65 0d 09 | 6f 6e 20 6d 65 6d 6f 72 |o save..|on memor|
|00003670| 79 20 74 68 61 74 20 69 | 73 6e 27 74 20 75 73 65 |y that i|sn't use|
|00003680| 64 2e 20 20 57 65 20 64 | 6f 6e d5 74 20 75 73 65 |d. We d|on.t use|
|00003690| 20 74 68 65 20 69 54 61 | 62 6c 65 20 69 6e 20 74 | the iTa|ble in t|
|000036a0| 68 65 20 6f 66 66 73 63 | 72 65 65 6e 20 67 44 65 |he offsc|reen gDe|
|000036b0| 76 69 63 65 0d 09 73 69 | 6e 63 65 20 69 74 20 69 |vice..si|nce it i|
|000036c0| 73 20 6e 65 76 65 72 20 | 74 68 65 20 64 65 73 74 |s never |the dest|
|000036d0| 69 6e 61 74 69 6f 6e 20 | 6f 66 20 61 20 43 6f 70 |ination |of a Cop|
|000036e0| 79 42 69 74 73 20 6f 72 | 20 63 6f 6c 6f 72 20 73 |yBits or| color s|
|000036f0| 65 6c 65 63 74 69 6f 6e | 20 6f 70 65 72 61 74 69 |election| operati|
|00003700| 6f 6e 2e 0d 09 54 68 65 | 72 65 20 69 73 20 74 68 |on...The|re is th|
|00003710| 75 73 20 6e 6f 20 72 65 | 61 73 6f 6e 20 74 6f 20 |us no re|ason to |
|00003720| 77 61 73 74 65 20 6d 65 | 6d 6f 72 79 20 6f 6e 20 |waste me|mory on |
|00003730| 75 6e 75 73 65 64 20 64 | 61 74 61 2e 0d 09 0d 09 |unused d|ata.....|
|00003740| 57 68 65 6e 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |When a d|ocument |
|00003750| 69 73 20 73 61 76 65 64 | 20 74 68 65 20 63 6f 6c |is saved| the col|
|00003760| 6f 72 20 74 61 62 6c 65 | 20 66 72 6f 6d 20 74 68 |or table| from th|
|00003770| 65 20 6f 66 66 73 63 72 | 65 65 6e 20 67 44 65 76 |e offscr|een gDev|
|00003780| 69 63 65 20 69 73 20 75 | 73 65 64 2e 0d 09 54 68 |ice is u|sed...Th|
|00003790| 69 73 20 69 73 20 74 68 | 65 20 63 6c 75 74 20 72 |is is th|e clut r|
|000037a0| 65 73 6f 75 72 63 65 20 | 74 68 61 74 20 69 73 20 |esource |that is |
|000037b0| 75 73 65 64 20 75 6e 69 | 66 6f 72 6d 6c 79 20 74 |used uni|formly t|
|000037c0| 68 72 6f 75 67 68 6f 75 | 74 20 74 68 65 20 70 72 |hroughou|t the pr|
|000037d0| 6f 67 72 61 6d 2e 20 20 | 49 66 0d 09 79 6f 75 20 |ogram. |If..you |
|000037e0| 68 61 74 65 20 6d 79 20 | 63 68 6f 69 63 65 20 6f |hate my |choice o|
|000037f0| 66 20 63 6f 6c 6f 72 73 | 2c 20 79 6f 75 20 63 61 |f colors|, you ca|
|00003800| 6e 20 63 68 61 6e 67 65 | 20 74 68 65 20 63 6c 75 |n change| the clu|
|00003810| 74 20 74 6f 20 73 6f 6d | 65 74 68 69 6e 67 20 65 |t to som|ething e|
|00003820| 6c 73 65 20 61 6e 64 0d | 09 61 6c 6c 20 73 68 6f |lse and.|.all sho|
|00003830| 75 6c 64 20 77 6f 72 6b | 20 74 68 65 20 73 61 6d |uld work| the sam|
|00003840| 65 20 28 65 78 63 65 70 | 74 20 6f 6c 64 20 64 6f |e (excep|t old do|
|00003850| 63 75 6d 65 6e 74 73 20 | 77 69 6c 6c 20 6d 61 70 |cuments |will map|
|00003860| 20 69 6e 74 6f 20 73 6f | 6d 65 74 68 69 6e 67 20 | into so|mething |
|00003870| 65 6c 73 65 29 2e 0d 09 | 57 68 65 6e 20 74 68 65 |else)...|When the|
|00003880| 20 63 6f 6c 6f 72 20 61 | 6e 69 6d 61 74 69 6f 6e | color a|nimation|
|00003890| 20 69 73 20 64 6f 6e 65 | 2c 20 77 65 20 64 6f 6e | is done|, we don|
|000038a0| d5 74 20 72 6f 74 61 74 | 65 20 74 68 65 20 6f 66 |.t rotat|e the of|
|000038b0| 66 73 63 72 65 65 6e 20 | 67 75 79 73 2c 20 77 65 |fscreen |guys, we|
|000038c0| 20 6a 75 73 74 0d 09 6d | 6f 76 65 20 61 20 63 6f | just..m|ove a co|
|000038d0| 70 79 20 6f 66 20 74 68 | 65 20 73 79 73 74 65 6d |py of th|e system|
|000038e0| 20 63 6f 6c 6f 72 20 74 | 61 62 6c 65 20 61 72 6f | color t|able aro|
|000038f0| 75 6e 64 2e 0d 09 0d 09 | 54 68 65 72 65 20 69 73 |und.....|There is|
|00003900| 20 61 20 6b 6e 6f 77 6e | 20 62 75 67 20 77 69 74 | a known| bug wit|
|00003910| 68 20 70 72 6f 67 72 61 | 6d 73 20 74 68 61 74 20 |h progra|ms that |
|00003920| 61 6e 69 6d 61 74 65 20 | 74 68 65 20 63 6f 6c 6f |animate |the colo|
|00003930| 72 20 74 61 62 6c 65 20 | 69 6e 20 74 68 65 0d 09 |r table |in the..|
|00003940| 62 61 63 6b 67 72 6f 75 | 6e 64 2e 20 20 54 68 69 |backgrou|nd. Thi|
|00003950| 73 20 64 6f 65 73 6e d5 | 74 20 73 65 65 6d 20 6c |s doesn.|t seem l|
|00003960| 69 6b 65 20 61 20 72 65 | 61 73 6f 6e 61 62 6c 65 |ike a re|asonable|
|00003970| 20 67 6f 61 6c 20 67 69 | 76 65 6e 20 74 68 65 20 | goal gi|ven the |
|00003980| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2c 0d 09 62 75 |environm|ent,..bu|
|00003990| 74 20 73 6f 6d 65 20 70 | 72 6f 67 72 61 6d 73 20 |t some p|rograms |
|000039a0| 77 69 73 68 20 74 6f 20 | 64 6f 20 74 68 69 73 2e |wish to |do this.|
|000039b0| 20 20 49 66 20 74 68 65 | 79 20 64 6f 2c 20 74 68 | If the|y do, th|
|000039c0| 65 20 63 6f 6c 6f 72 20 | 74 61 62 6c 65 20 77 69 |e color |table wi|
|000039d0| 6c 6c 20 67 65 74 0d 09 | 6d 75 6e 67 65 64 20 75 |ll get..|munged u|
|000039e0| 70 2c 20 67 69 76 69 6e | 67 20 79 6f 75 20 73 6f |p, givin|g you so|
|000039f0| 6d 65 20 77 69 6c 64 20 | 65 66 66 65 63 74 73 2e |me wild |effects.|
|00003a00| 0d 09 0d 09 54 68 65 20 | 50 61 6c 65 74 74 65 20 |....The |Palette |
|00003a10| 4d 61 6e 61 67 65 72 20 | 69 73 20 75 73 65 64 20 |Manager |is used |
|00003a20| 74 6f 20 74 68 65 20 65 | 78 74 65 6e 74 20 74 68 |to the e|xtent th|
|00003a30| 61 74 20 77 65 20 68 61 | 76 65 20 74 68 65 20 53 |at we ha|ve the S|
|00003a40| 79 73 74 65 6d 20 50 61 | 6c 65 74 74 65 0d 09 28 |ystem Pa|lette..(|
|00003a50| 31 34 20 63 6f 6c 6f 72 | 73 29 20 61 74 74 61 63 |14 color|s) attac|
|00003a60| 68 65 64 20 74 6f 20 65 | 61 63 68 20 77 69 6e 64 |hed to e|ach wind|
|00003a70| 6f 77 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ow autom|atically|
|00003a80| 2e 20 20 49 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |. If th|e window|
|00003a90| 20 69 73 20 6f 6e 0d 09 | 61 20 6d 6f 6e 69 74 6f | is on..|a monito|
|00003aa0| 72 20 77 69 74 68 20 6e | 6f 74 20 65 6e 6f 75 67 |r with n|ot enoug|
|00003ab0| 68 20 63 6f 6c 6f 72 73 | 20 74 6f 20 64 6f 20 6f |h colors| to do o|
|00003ac0| 75 72 20 74 68 69 6e 67 | 2c 20 74 68 65 20 50 61 |ur thing|, the Pa|
|00003ad0| 6c 65 74 74 65 20 77 69 | 6c 6c 20 62 65 20 75 73 |lette wi|ll be us|
|00003ae0| 65 64 0d 09 69 6e 73 74 | 65 61 64 2c 20 67 69 76 |ed..inst|ead, giv|
|00003af0| 69 6e 67 20 61 20 66 69 | 78 65 64 20 63 6f 6c 6f |ing a fi|xed colo|
|00003b00| 72 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 73 6f |r enviro|nment so|
|00003b10| 20 74 68 65 20 66 72 61 | 63 74 61 6c 73 20 6c 6f | the fra|ctals lo|
|00003b20| 6f 6b 20 74 68 65 20 73 | 61 6d 65 20 0d 09 65 61 |ok the s|ame ..ea|
|00003b30| 63 68 20 74 69 6d 65 20 | 74 68 65 79 20 61 72 65 |ch time |they are|
|00003b40| 20 64 69 73 70 6c 61 79 | 65 64 2e 20 20 49 66 20 | display|ed. If |
|00003b50| 77 65 20 68 61 76 65 20 | 65 6e 6f 75 67 68 20 63 |we have |enough c|
|00003b60| 6f 6c 6f 72 73 20 6f 6e | 20 74 68 65 20 64 65 76 |olors on| the dev|
|00003b70| 69 63 65 20 77 65 0d 09 | 77 61 6c 6b 20 61 6c 6c |ice we..|walk all|
|00003b80| 20 6f 76 65 72 20 74 68 | 65 20 63 6f 6c 6f 72 73 | over th|e colors|
|00003b90| 20 74 68 65 72 65 2c 20 | 73 6f 20 74 68 65 20 50 | there, |so the P|
|00003ba0| 4d 20 69 73 20 6e 6f 74 | 20 62 65 69 6e 67 20 75 |M is not| being u|
|00003bb0| 73 65 64 20 74 68 65 72 | 65 2e 0d 09 0d 09 54 68 |sed ther|e.....Th|
|00003bc0| 65 20 41 70 70 6c 65 20 | 4d 65 6e 75 20 77 61 73 |e Apple |Menu was|
|00003bd0| 20 61 20 73 70 65 63 69 | 61 6c 20 68 61 63 6b 20 | a speci|al hack |
|00003be0| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |to make |sure tha|
|00003bf0| 74 20 69 74 20 77 6f 75 | 6c 64 20 64 72 61 77 20 |t it wou|ld draw |
|00003c00| 69 6e 20 74 68 65 0d 09 | 72 69 67 68 74 20 63 6f |in the..|right co|
|00003c10| 6c 6f 72 73 2c 20 61 6e | 64 20 6e 6f 74 20 62 65 |lors, an|d not be|
|00003c20| 20 61 6e 69 6d 61 74 65 | 64 20 77 68 65 6e 20 77 | animate|d when w|
|00003c30| 65 20 77 65 72 65 20 64 | 6f 69 6e 67 20 74 68 65 |e were d|oing the|
|00003c40| 20 63 6f 6c 6f 72 20 74 | 61 62 6c 65 0d 09 61 6e | color t|able..an|
|00003c50| 69 6d 61 74 69 6f 6e 2e | 20 20 49 74 20 69 73 20 |imation.| It is |
|00003c60| 64 6f 6e 65 20 62 79 20 | 6d 61 6b 69 6e 67 20 73 |done by |making s|
|00003c70| 75 72 65 20 74 68 61 74 | 20 74 68 65 20 73 79 73 |ure that| the sys|
|00003c80| 74 65 6d 20 70 61 6c 65 | 74 74 65 20 69 73 20 61 |tem pale|tte is a|
|00003c90| 6c 77 61 79 73 0d 09 61 | 76 61 69 6c 61 62 6c 65 |lways..a|vailable|
|00003ca0| 2c 20 65 76 65 6e 20 77 | 68 65 6e 20 77 65 20 68 |, even w|hen we h|
|00003cb0| 61 6d 6d 65 72 20 6f 6e | 20 74 68 65 20 63 6f 6c |ammer on| the col|
|00003cc0| 6f 72 20 74 61 62 6c 65 | 2e 20 20 57 65 20 68 61 |or table|. We ha|
|00003cd0| 6d 6d 65 72 20 61 6e 0d | 09 65 78 74 72 61 20 31 |mmer an.|.extra 1|
|00003ce0| 34 20 63 6f 6c 6f 72 73 | 20 77 68 65 6e 20 77 65 |4 colors| when we|
|00003cf0| 20 64 6f 20 69 74 2c 20 | 61 6e 64 20 6d 61 6b 65 | do it, |and make|
|00003d00| 20 73 75 72 65 20 74 68 | 65 20 6d 65 6e 75 62 61 | sure th|e menuba|
|00003d10| 72 20 69 73 20 72 65 64 | 72 61 77 6e 0d 09 61 66 |r is red|rawn..af|
|00003d20| 74 65 72 20 77 65 20 68 | 61 6d 6d 65 72 2e 20 20 |ter we h|ammer. |
|00003d30| 54 6f 20 61 76 6f 69 64 | 20 68 61 76 69 6e 67 20 |To avoid| having |
|00003d40| 74 68 65 20 41 70 70 6c | 65 20 61 6e 69 6d 61 74 |the Appl|e animat|
|00003d50| 65 2c 20 77 65 20 52 65 | 73 65 72 76 65 20 74 68 |e, we Re|serve th|
|00003d60| 65 0d 09 65 6e 74 72 69 | 65 73 20 77 65 20 75 73 |e..entri|es we us|
|00003d70| 65 2e 20 20 57 68 65 6e | 20 74 68 65 20 6d 65 6e |e. When| the men|
|00003d80| 75 62 61 72 20 69 73 20 | 64 72 61 77 6e 20 69 74 |ubar is |drawn it|
|00003d90| 20 77 69 6c 6c 20 6f 6e | 6c 79 20 6d 61 74 63 68 | will on|ly match|
|00003da0| 20 6e 6f 6e 2d 0d 09 72 | 65 73 65 72 76 65 64 20 | non-..r|eserved |
|00003db0| 65 6e 74 72 69 65 73 2e | 0d 09 0d 09 54 68 65 20 |entries.|....The |
|00003dc0| 70 72 6f 67 72 61 6d 20 | 63 75 72 72 65 6e 74 6c |program |currentl|
|00003dd0| 79 20 75 73 65 73 20 53 | 63 72 65 65 6e 42 69 74 |y uses S|creenBit|
|00003de0| 73 2e 42 6f 75 6e 64 73 | 20 61 73 20 74 68 65 20 |s.Bounds| as the |
|00003df0| 64 65 74 65 72 6d 69 6e | 69 6e 67 20 73 69 7a 65 |determin|ing size|
|00003e00| 20 6f 66 20 74 68 65 0d | 09 76 69 65 77 20 61 6e | of the.|.view an|
|00003e10| 64 20 74 68 75 73 20 74 | 68 65 20 66 72 61 63 74 |d thus t|he fract|
|00003e20| 61 6c 20 74 68 61 74 20 | 69 73 20 63 61 6c 63 75 |al that |is calcu|
|00003e30| 6c 61 74 65 64 2e 20 20 | 54 68 69 73 20 69 73 20 |lated. |This is |
|00003e40| 4f 4b 2c 20 62 75 74 20 | 61 20 62 65 74 74 65 72 |OK, but |a better|
|00003e50| 20 61 70 70 72 6f 61 63 | 68 0d 09 77 6f 75 6c 64 | approac|h..would|
|00003e60| 20 62 65 20 74 6f 20 61 | 6c 6c 6f 77 20 74 68 65 | be to a|llow the|
|00003e70| 20 75 73 65 72 20 74 6f | 20 73 70 65 63 69 66 79 | user to| specify|
|00003e80| 20 74 68 65 20 6c 69 6d | 69 74 73 20 6f 66 20 74 | the lim|its of t|
|00003e90| 68 65 20 46 72 61 63 74 | 61 6c 20 74 68 65 79 20 |he Fract|al they |
|00003ea0| 77 61 6e 74 2e 20 20 54 | 68 69 73 0d 09 69 6e 76 |want. T|his..inv|
|00003eb0| 6f 6c 76 65 73 20 61 64 | 64 69 6e 67 20 61 6e 6f |olves ad|ding ano|
|00003ec0| 74 68 65 72 20 64 69 61 | 6c 6f 67 20 61 6e 64 20 |ther dia|log and |
|00003ed0| 73 61 76 65 20 64 65 66 | 61 75 6c 74 73 20 74 79 |save def|aults ty|
|00003ee0| 70 65 20 6f 66 20 66 65 | 61 74 75 72 65 20 62 75 |pe of fe|ature bu|
|00003ef0| 74 20 69 73 20 61 20 62 | 65 74 74 65 72 0d 09 77 |t is a b|etter..w|
|00003f00| 61 79 20 74 6f 20 73 6f | 6c 76 65 20 74 68 65 20 |ay to so|lve the |
|00003f10| 70 72 6f 62 6c 65 6d 20 | 73 69 6e 63 65 20 69 74 |problem |since it|
|00003f20| 20 69 73 20 6e 6f 74 20 | 6f 62 76 69 6f 75 73 20 | is not |obvious |
|00003f30| 77 68 61 74 20 74 68 65 | 20 62 65 73 74 20 73 69 |what the| best si|
|00003f40| 7a 65 20 77 6f 75 6c 64 | 20 62 65 2e 0d 09 53 63 |ze would| be...Sc|
|00003f50| 72 65 65 6e 42 69 74 73 | 2e 62 6f 75 6e 64 73 20 |reenBits|.bounds |
|00003f60| 69 73 20 65 61 73 79 20 | 74 6f 20 75 73 65 2c 20 |is easy |to use, |
|00003f70| 62 75 74 20 77 68 65 6e | 65 76 65 72 20 74 68 65 |but when|ever the|
|00003f80| 72 65 20 69 73 20 6e 6f | 20 6f 62 76 69 6f 75 73 |re is no| obvious|
|00003f90| 20 62 65 73 74 20 61 6e | 73 77 65 72 0d 09 69 74 | best an|swer..it|
|00003fa0| 20 69 73 20 61 6c 77 61 | 79 73 20 62 65 74 74 65 | is alwa|ys bette|
|00003fb0| 72 20 74 6f 20 6c 65 74 | 20 74 68 65 20 75 73 65 |r to let| the use|
|00003fc0| 72 20 64 65 63 69 64 65 | 20 69 6e 73 74 65 61 64 |r decide| instead|
|00003fd0| 2c 20 74 68 61 74 20 77 | 61 79 20 74 68 65 79 20 |, that w|ay they |
|00003fe0| 63 61 6e d5 74 20 62 69 | 74 63 68 2e 0d 09 0d 09 |can.t bi|tch.....|
|00003ff0| 57 65 20 68 61 76 65 20 | 74 6f 20 62 65 20 70 72 |We have |to be pr|
|00004000| 65 74 74 79 20 72 6f 77 | 64 79 20 61 62 6f 75 74 |etty row|dy about|
|00004010| 20 63 68 61 6e 67 69 6e | 67 20 74 68 65 20 63 6f | changin|g the co|
|00004020| 6c 6f 72 20 74 61 62 6c | 65 2e 20 20 49 6e 20 6f |lor tabl|e. In o|
|00004030| 72 64 65 72 20 74 6f 20 | 62 65 20 73 75 72 65 20 |rder to |be sure |
|00004040| 74 68 61 74 0d 09 6f 75 | 72 20 63 6f 6c 6f 72 73 |that..ou|r colors|
|00004050| 20 61 72 65 20 73 65 74 | 20 75 70 20 74 68 65 20 | are set| up the |
|00004060| 72 69 67 68 74 20 77 61 | 79 2c 20 77 65 20 6e 65 |right wa|y, we ne|
|00004070| 65 64 20 74 6f 20 63 68 | 65 63 6b 20 74 68 65 20 |ed to ch|eck the |
|00004080| 64 65 70 74 68 20 61 6e | 64 20 6d 61 6b 65 20 73 |depth an|d make s|
|00004090| 75 72 65 0d 09 74 68 65 | 20 63 6f 6c 6f 72 73 20 |ure..the| colors |
|000040a0| 61 72 65 20 72 69 67 68 | 74 20 61 74 20 65 61 63 |are righ|t at eac|
|000040b0| 68 20 75 70 64 61 74 65 | 20 65 76 65 6e 74 2e 20 |h update| event. |
|000040c0| 20 57 65 20 6d 61 79 20 | 67 65 74 20 61 6e 20 75 | We may |get an u|
|000040d0| 70 64 61 74 65 20 64 75 | 72 69 6e 67 20 74 68 65 |pdate du|ring the|
|000040e0| 20 70 72 6f 67 72 61 6d | 0d 09 74 68 61 74 20 63 | program|..that c|
|000040f0| 6f 6d 65 73 20 66 72 6f | 6d 20 63 68 61 6e 67 69 |omes fro|m changi|
|00004100| 6e 67 20 64 65 70 74 68 | 2e 20 20 44 75 72 69 6e |ng depth|. Durin|
|00004110| 67 20 61 6e 79 20 75 70 | 64 61 74 65 2c 20 69 66 |g any up|date, if|
|00004120| 20 77 65 20 64 6f 6e d5 | 74 20 68 61 76 65 20 65 | we don.|t have e|
|00004130| 6e 6f 75 67 68 0d 09 63 | 6f 6c 6f 72 73 20 74 6f |nough..c|olors to|
|00004140| 20 64 6f 20 74 68 65 20 | 66 75 6c 6c 20 66 72 61 | do the |full fra|
|00004150| 63 74 61 6c 2c 20 77 65 | 20 77 69 6c 6c 20 75 73 |ctal, we| will us|
|00004160| 65 20 61 20 63 6f 6c 6f | 72 20 73 65 61 72 63 68 |e a colo|r search|
|00004170| 20 70 72 6f 63 20 74 6f | 20 6d 61 70 20 74 68 65 | proc to| map the|
|00004180| 0d 09 66 72 61 63 74 61 | 6c 20 69 6e 74 6f 20 74 |..fracta|l into t|
|00004190| 68 65 20 63 6f 6c 6f 72 | 20 73 70 61 63 65 20 61 |he color| space a|
|000041a0| 76 61 69 6c 61 62 6c 65 | 2e 20 20 54 68 69 73 20 |vailable|. This |
|000041b0| 77 69 6c 6c 20 6d 61 6b | 65 20 7a 65 62 72 61 20 |will mak|e zebra |
|000041c0| 66 72 61 63 74 61 6c 73 | 2c 20 61 0d 09 72 65 61 |fractals|, a..rea|
|000041d0| 73 6f 6e 61 62 6c 65 20 | 63 6f 6d 70 72 6f 6d 69 |sonable |compromi|
|000041e0| 73 65 2e 20 20 0d 09 0d | 09 41 6e 6f 74 68 65 72 |se. ...|.Another|
|000041f0| 20 67 6f 61 6c 20 6f 66 | 20 63 6f 75 72 73 65 20 | goal of| course |
|00004200| 77 61 73 20 74 6f 20 67 | 65 74 20 74 68 69 73 20 |was to g|et this |
|00004210| 74 68 69 6e 67 20 64 6f | 6e 65 2e 20 20 41 20 67 |thing do|ne. A g|
|00004220| 6f 61 6c 20 74 68 61 74 | 20 74 65 6e 64 73 20 74 |oal that| tends t|
|00004230| 6f 20 73 6c 69 64 65 0d | 09 61 77 61 79 20 61 73 |o slide.|.away as|
|00004240| 20 6d 6f 72 65 20 74 68 | 69 6e 67 73 20 61 72 65 | more th|ings are|
|00004250| 20 61 64 64 65 64 20 74 | 6f 20 74 68 65 20 70 72 | added t|o the pr|
|00004260| 6f 67 72 61 6d 2c 20 73 | 6f 20 69 6e 20 74 72 75 |ogram, s|o in tru|
|00004270| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 73 74 79 6c |e Macint|osh styl|
|00004280| 65 2c 0d 09 74 68 65 20 | 31 2e 30 20 76 65 72 73 |e,..the |1.0 vers|
|00004290| 69 6f 6e 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |ion of t|he progr|
|000042a0| 61 6d 20 69 73 20 73 6f | 6d 65 77 68 61 74 20 6c |am is so|mewhat l|
|000042b0| 69 6d 69 74 65 64 2c 20 | 61 6e 64 20 6d 61 79 20 |imited, |and may |
|000042c0| 6e 6f 74 20 62 65 20 66 | 75 6c 6c 79 0d 09 64 65 |not be f|ully..de|
|000042d0| 62 75 67 67 65 64 2e 20 | 20 53 6f 6d 65 20 74 68 |bugged. | Some th|
|000042e0| 69 6e 67 73 20 73 70 65 | 63 69 66 69 63 61 6c 6c |ings spe|cificall|
|000042f0| 79 20 6c 65 66 74 20 6f | 75 74 3a 20 70 72 69 6e |y left o|ut: prin|
|00004300| 74 69 6e 67 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |ting the| documen|
|00004310| 74 73 20 74 6f 20 0d 09 | 61 20 4c 61 73 65 72 57 |ts to ..|a LaserW|
|00004320| 72 69 74 65 72 20 77 69 | 74 68 20 67 72 65 79 20 |riter wi|th grey |
|00004330| 73 63 61 6c 65 73 20 69 | 6e 73 74 65 61 64 2c 20 |scales i|nstead, |
|00004340| 75 73 69 6e 67 20 74 65 | 6d 70 6f 72 61 72 79 20 |using te|mporary |
|00004350| 64 6f 63 75 6d 65 6e 74 | 73 20 74 6f 20 0d 09 6d |document|s to ..m|
|00004360| 61 6b 65 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |ake the |program |
|00004370| 63 72 61 73 68 6c 65 73 | 73 20 28 73 6f 20 79 6f |crashles|s (so yo|
|00004380| 75 20 63 61 6e 20 73 74 | 61 72 74 20 75 70 20 77 |u can st|art up w|
|00004390| 68 65 72 65 20 79 6f 75 | 20 6c 65 66 74 20 6f 66 |here you| left of|
|000043a0| 66 2c 20 73 61 76 69 6e | 67 0d 09 74 68 65 20 63 |f, savin|g..the c|
|000043b0| 6f 6d 70 75 74 61 74 69 | 6f 6e 20 69 74 20 74 6f |omputati|on it to|
|000043c0| 6f 6b 20 74 6f 20 67 65 | 74 20 74 68 65 72 65 29 |ok to ge|t there)|
|000043d0| 2c 20 61 6e 20 6f 70 74 | 69 6f 6e 20 74 6f 20 6d |, an opt|ion to m|
|000043e0| 61 6b 65 20 74 68 65 20 | d4 70 65 6e d5 20 73 69 |ake the |.pen. si|
|000043f0| 7a 65 20 62 69 67 67 65 | 72 0d 09 73 6f 20 79 6f |ze bigge|r..so yo|
|00004400| 75 20 63 61 6e 20 64 6f | 20 61 20 6c 6f 77 2d 72 |u can do| a low-r|
|00004410| 65 73 20 66 72 61 63 74 | 61 6c 20 74 6f 20 62 65 |es fract|al to be|
|00004420| 67 69 6e 20 77 69 74 68 | 2e 20 20 54 68 65 73 65 |gin with|. These|
|00004430| 20 74 68 69 6e 67 73 20 | 61 72 65 20 61 6c 6c 20 | things |are all |
|00004440| 61 64 6d 69 72 61 62 6c | 65 20 0d 09 66 65 61 74 |admirabl|e ..feat|
|00004450| 75 72 65 73 20 74 6f 20 | 61 64 64 2c 20 62 75 74 |ures to |add, but|
|00004460| 20 79 6f 75 20 68 61 76 | 65 20 74 6f 20 66 69 6e | you hav|e to fin|
|00004470| 69 73 68 20 76 65 72 73 | 69 6f 6e 20 31 2e 30 20 |ish vers|ion 1.0 |
|00004480| 73 6f 6d 65 74 69 6d 65 | 2c 20 73 6f 20 74 68 69 |sometime|, so thi|
|00004490| 73 20 77 61 73 20 69 74 | 2e 20 20 0d 09 54 68 65 |s was it|. ..The|
|000044a0| 73 65 20 6f 74 68 65 72 | 20 74 68 69 6e 67 73 20 |se other| things |
|000044b0| 77 69 6c 6c 20 62 65 20 | 61 64 64 65 64 20 69 66 |will be |added if|
|000044c0| 20 70 6f 73 73 69 62 6c | 65 2e 0d 09 0d 09 43 61 | possibl|e.....Ca|
|000044d0| 72 65 66 75 6c 6c 79 20 | 77 61 74 63 68 20 74 68 |refully |watch th|
|000044e0| 65 20 38 38 31 20 66 6c | 61 67 20 77 69 74 68 20 |e 881 fl|ag with |
|000044f0| 74 68 69 73 20 4d 50 57 | 20 62 75 73 69 6e 65 73 |this MPW| busines|
|00004500| 73 2e 20 20 54 68 65 72 | 65 20 61 72 65 20 61 20 |s. Ther|e are a |
|00004510| 6e 75 6d 62 65 72 20 6f | 66 0d 09 72 69 64 69 63 |number o|f..ridic|
|00004520| 75 6c 6f 75 73 20 70 72 | 6f 62 6c 65 6d 73 20 61 |ulous pr|oblems a|
|00004530| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 69 |ssociate|d with i|
|00004540| 74 73 20 75 73 65 2e 20 | 20 49 6e 20 70 61 72 74 |ts use. | In part|
|00004550| 69 63 75 6c 61 72 20 74 | 68 65 20 24 4c 4f 41 44 |icular t|he $LOAD|
|00004560| 20 66 69 6c 65 73 0d 09 | 61 72 65 20 64 61 6e 67 | files..|are dang|
|00004570| 65 72 6f 75 73 20 74 6f | 20 75 73 65 20 77 69 74 |erous to| use wit|
|00004580| 68 20 38 38 31 20 61 6e | 64 20 74 68 65 20 63 6f |h 881 an|d the co|
|00004590| 6d 62 69 6e 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |mbinatio|n of the|
|000045a0| 20 74 77 6f 20 77 69 6c | 6c 20 6f 66 74 65 6e 20 | two wil|l often |
|000045b0| 0d 09 65 6e 64 20 75 70 | 20 63 6f 6d 70 69 6c 69 |..end up| compili|
|000045c0| 6e 67 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |ng succe|ssfully |
|000045d0| 69 6e 74 6f 20 61 20 70 | 72 6f 67 72 61 6d 20 74 |into a p|rogram t|
|000045e0| 68 61 74 20 69 73 20 67 | 61 72 62 61 67 65 20 61 |hat is g|arbage a|
|000045f0| 6e 64 20 77 69 6c 6c 0d | 09 63 72 61 73 68 20 75 |nd will.|.crash u|
|00004600| 70 6f 6e 20 72 75 6e 6e | 69 6e 67 20 69 74 2e 20 |pon runn|ing it. |
|00004610| 20 54 68 69 73 2c 20 72 | 65 6d 69 6e 64 20 79 6f | This, r|emind yo|
|00004620| 75 72 73 65 6c 66 2c 20 | 69 73 20 61 20 66 65 61 |urself, |is a fea|
|00004630| 74 75 72 65 20 6f 66 20 | 74 68 65 20 6d 6f 73 74 |ture of |the most|
|00004640| 20 0d 09 70 6f 77 65 72 | 66 75 6c 20 64 65 76 65 | ..power|ful deve|
|00004650| 6c 6f 70 6d 65 6e 74 20 | 73 79 73 74 65 6d 20 61 |lopment |system a|
|00004660| 72 6f 75 6e 64 2e 20 20 | 49 6e 20 6f 72 64 65 72 |round. |In order|
|00004670| 20 74 6f 20 62 75 69 6c | 64 20 63 75 72 72 65 6e | to buil|d curren|
|00004680| 74 6c 79 2c 20 74 68 65 | 20 6d 61 69 6e 0d 09 70 |tly, the| main..p|
|00004690| 72 6f 67 72 61 6d 20 4d | 46 72 61 63 41 70 70 2e |rogram M|FracApp.|
|000046a0| 70 20 73 68 6f 75 6c 64 | 20 62 65 20 63 6f 6d 70 |p should| be comp|
|000046b0| 69 6c 65 64 20 77 69 74 | 68 20 6e 65 77 20 24 4c |iled wit|h new $L|
|000046c0| 4f 41 44 20 66 69 6c 65 | 73 20 61 6e 64 20 74 68 |OAD file|s and th|
|000046d0| 65 20 38 38 31 0d 09 66 | 6c 61 67 20 74 75 72 6e |e 881..f|lag turn|
|000046e0| 65 64 20 6f 66 66 2e 20 | 20 41 6c 6c 20 6f 66 20 |ed off. | All of |
|000046f0| 74 68 65 20 4d 61 63 41 | 70 70 20 73 6f 75 72 63 |the MacA|pp sourc|
|00004700| 65 73 20 73 68 6f 75 6c | 64 20 62 65 20 63 6f 6d |es shoul|d be com|
|00004710| 70 69 6c 65 64 20 77 69 | 74 68 20 61 20 6e 65 77 |piled wi|th a new|
|00004720| 0d 09 24 4c 4f 41 44 20 | 66 69 6c 65 20 61 6e 64 |..$LOAD |file and|
|00004730| 20 38 38 31 20 74 75 72 | 6e 65 64 20 6f 66 66 2e | 881 tur|ned off.|
|00004740| 20 20 54 68 65 20 6c 61 | 73 74 20 73 74 65 70 20 | The la|st step |
|00004750| 73 68 6f 75 6c 64 20 62 | 65 20 74 6f 20 63 6f 6d |should b|e to com|
|00004760| 70 69 6c 65 20 74 68 65 | 20 55 46 72 61 63 41 70 |pile the| UFracAp|
|00004770| 70 2e 70 0d 09 77 69 74 | 68 20 74 68 65 20 38 38 |p.p..wit|h the 88|
|00004780| 31 20 66 6c 61 67 20 74 | 75 72 6e 65 64 20 6f 6e |1 flag t|urned on|
|00004790| 2c 20 61 6e 64 20 77 69 | 74 68 20 6e 65 77 20 24 |, and wi|th new $|
|000047a0| 4c 4f 41 44 20 66 69 6c | 65 73 20 61 73 20 77 65 |LOAD fil|es as we|
|000047b0| 6c 6c 2e 20 20 42 65 77 | 61 72 65 20 6f 72 0d 09 |ll. Bew|are or..|
|000047c0| 62 65 20 70 72 65 70 61 | 72 65 64 20 74 6f 20 73 |be prepa|red to s|
|000047d0| 70 65 6e 64 20 61 20 6c | 6f 74 20 6f 66 20 74 69 |pend a l|ot of ti|
|000047e0| 6d 65 20 6f 6e 20 73 6f | 6d 65 74 68 69 6e 67 20 |me on so|mething |
|000047f0| 73 69 6c 6c 79 2e 20 20 | 54 6f 20 73 6f 6c 76 65 |silly. |To solve|
|00004800| 20 74 68 69 73 20 0d 09 | 70 72 6f 62 6c 65 6d 20 | this ..|problem |
|00004810| 74 68 65 20 4d 61 6b 65 | 20 66 69 6c 65 20 75 73 |the Make| file us|
|00004820| 65 64 20 77 69 74 68 20 | 46 72 61 63 41 70 70 20 |ed with |FracApp |
|00004830| 68 61 73 20 61 20 73 70 | 65 63 69 66 69 63 20 63 |has a sp|ecific c|
|00004840| 6f 6d 70 69 6c 65 20 72 | 75 6c 65 20 66 6f 72 20 |ompile r|ule for |
|00004850| 0d 09 74 68 65 20 55 46 | 72 61 63 41 70 70 20 66 |..the UF|racApp f|
|00004860| 69 6c 65 2e 20 20 55 46 | 72 61 63 41 70 70 20 61 |ile. UF|racApp a|
|00004870| 6c 73 6f 20 75 73 65 73 | 20 69 74 73 20 6f 77 6e |lso uses| its own|
|00004880| 20 24 4c 4f 41 44 20 66 | 69 6c 65 2c 20 74 68 61 | $LOAD f|ile, tha|
|00004890| 74 20 69 73 20 64 69 66 | 66 65 72 65 6e 74 0d 09 |t is dif|ferent..|
|000048a0| 66 72 6f 6d 20 74 68 65 | 20 4d 61 63 41 70 70 20 |from the| MacApp |
|000048b0| 61 6e 64 20 4d 46 72 61 | 63 41 70 70 20 6f 6e 65 |and MFra|cApp one|
|000048c0| 73 2e 20 20 54 68 65 20 | 38 38 31 20 66 6c 61 67 |s. The |881 flag|
|000048d0| 20 69 73 20 6e 6f 74 20 | 73 70 65 63 69 66 69 63 | is not |specific|
|000048e0| 61 6c 6c 79 0d 09 72 65 | 71 75 69 72 65 64 2c 20 |ally..re|quired, |
|000048f0| 62 75 74 20 69 74 20 6d | 61 6b 65 73 20 63 6f 64 |but it m|akes cod|
|00004900| 65 20 74 68 61 74 20 75 | 73 65 73 20 74 68 65 20 |e that u|ses the |
|00004910| 38 38 31 20 64 69 72 65 | 63 74 6c 79 20 69 6e 73 |881 dire|ctly ins|
|00004920| 74 65 61 64 20 6f 66 20 | 67 6f 69 6e 67 0d 09 74 |tead of |going..t|
|00004930| 68 72 6f 75 67 68 20 53 | 41 4e 45 20 66 6f 72 20 |hrough S|ANE for |
|00004940| 61 20 73 70 65 65 64 20 | 75 70 20 6f 66 20 61 62 |a speed |up of ab|
|00004950| 6f 75 74 20 31 30 20 74 | 69 6d 65 73 2e 20 20 53 |out 10 t|imes. S|
|00004960| 69 6e 63 65 20 77 65 20 | 61 72 65 20 73 70 65 65 |ince we |are spee|
|00004970| 64 20 66 72 65 61 6b 73 | 0d 09 68 65 72 65 20 61 |d freaks|..here a|
|00004980| 73 20 77 65 6c 6c 2c 20 | 74 68 65 20 38 38 31 20 |s well, |the 881 |
|00004990| 6f 70 74 69 6f 6e 20 68 | 61 64 20 74 6f 20 62 65 |option h|ad to be|
|000049a0| 20 75 73 65 64 2e 20 20 | 47 69 76 65 6e 20 74 68 | used. |Given th|
|000049b0| 65 20 70 72 6f 62 6c 65 | 6d 73 2c 20 49 20 77 6f |e proble|ms, I wo|
|000049c0| 75 6c 64 0d 09 70 72 6f | 62 61 62 6c 79 20 73 6b |uld..pro|bably sk|
|000049d0| 69 70 20 74 68 65 20 38 | 38 31 20 6f 70 74 69 6f |ip the 8|81 optio|
|000049e0| 6e 20 61 6e 64 20 64 6f | 20 74 68 65 20 74 69 6d |n and do| the tim|
|000049f0| 65 20 63 72 69 74 69 63 | 61 6c 20 70 69 65 63 65 |e critic|al piece|
|00004a00| 73 20 69 6e 20 61 73 73 | 65 6d 62 6c 65 72 2e 0d |s in ass|embler..|
|00004a10| 09 0d 09 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |...If yo|u want t|
|00004a20| 6f 20 6b 6e 6f 77 20 68 | 6f 77 20 6c 6f 6e 67 20 |o know h|ow long |
|00004a30| 61 20 66 72 61 63 74 61 | 6c 20 74 6f 6f 6b 20 74 |a fracta|l took t|
|00004a40| 6f 20 63 61 6c 63 75 6c | 61 74 65 20 74 68 65 72 |o calcul|ate ther|
|00004a50| 65 20 69 73 20 61 20 74 | 69 6d 65 0d 09 73 74 61 |e is a t|ime..sta|
|00004a60| 6d 70 20 73 61 76 65 64 | 20 69 6e 20 74 68 65 20 |mp saved| in the |
|00004a70| 66 69 6c 65 20 68 65 61 | 64 65 72 2e 20 20 49 74 |file hea|der. It|
|00004a80| 20 69 73 20 6e 6f 20 6c | 6f 6e 67 65 72 20 64 72 | is no l|onger dr|
|00004a90| 61 77 6e 20 69 6e 20 74 | 68 65 20 77 69 6e 64 6f |awn in t|he windo|
|00004aa0| 77 20 73 69 6e 63 65 0d | 09 69 74 20 69 73 20 6e |w since.|.it is n|
|00004ab0| 6f 74 20 61 63 63 75 72 | 61 74 65 20 77 68 65 6e |ot accur|ate when|
|00004ac0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 68 61 73 | the pro|gram has|
|00004ad0| 20 72 75 6e 20 69 6e 20 | 74 68 65 20 62 61 63 6b | run in |the back|
|00004ae0| 67 72 6f 75 6e 64 20 6f | 72 20 69 66 20 74 68 65 |ground o|r if the|
|00004af0| 72 65 0d 09 61 72 65 20 | 6d 75 6c 74 69 70 6c 65 |re..are |multiple|
|00004b00| 20 64 6f 63 75 6d 65 6e | 74 73 20 6f 70 65 6e 2e | documen|ts open.|
|00004b10| 20 20 54 68 69 73 20 63 | 6f 75 6c 64 20 62 65 20 | This c|ould be |
|00004b20| 61 64 64 65 64 20 61 67 | 61 69 6e 20 69 66 20 64 |added ag|ain if d|
|00004b30| 65 73 69 72 65 64 2e 0d | 09 54 68 69 73 20 77 69 |esired..|.This wi|
|00004b40| 6c 6c 20 62 65 20 6d 61 | 64 65 20 6d 6f 72 65 20 |ll be ma|de more |
|00004b50| 61 63 63 75 72 61 74 65 | 20 69 6e 20 74 68 65 20 |accurate| in the |
|00004b60| 66 75 74 75 72 65 2c 20 | 70 72 6f 62 61 62 6c 79 |future, |probably|
|00004b70| 0d 09 75 73 69 6e 67 20 | 61 20 63 61 6c 63 75 6c |..using |a calcul|
|00004b80| 61 74 69 6f 6e 20 74 68 | 61 74 20 67 69 76 65 73 |ation th|at gives|
|00004b90| 20 75 73 20 61 20 6f 6e | 63 65 20 74 68 72 6f 75 | us a on|ce throu|
|00004ba0| 67 68 20 74 68 65 20 6c | 6f 6f 70 20 63 61 6c 63 |gh the l|oop calc|
|00004bb0| 75 6c 61 74 69 6f 6e 0d | 09 69 6e 20 75 6e 69 74 |ulation.|.in unit|
|00004bc0| 73 20 6f 66 20 54 69 6d | 65 44 42 52 41 2c 20 73 |s of Tim|eDBRA, s|
|00004bd0| 6f 20 77 65 20 63 61 6e | 20 62 65 20 6d 6f 72 65 |o we can| be more|
|00004be0| 20 6d 61 63 68 69 6e 65 | 20 69 6e 64 65 70 65 6e | machine| indepen|
|00004bf0| 64 65 6e 74 2e 0d 09 0d | 09 4e 6f 74 61 62 6c 79 |dent....|.Notably|
|00004c00| 20 49 20 61 6d 20 61 77 | 61 72 65 20 6f 66 20 74 | I am aw|are of t|
|00004c10| 68 65 20 66 61 63 74 20 | 74 68 61 74 20 74 68 69 |he fact |that thi|
|00004c20| 73 20 70 72 6f 67 72 61 | 6d 20 64 6f 65 73 20 6e |s progra|m does n|
|00004c30| 6f 74 20 72 65 61 6c 6c | 79 20 63 61 6c 63 75 6c |ot reall|y calcul|
|00004c40| 61 74 65 0d 09 46 72 61 | 63 74 61 6c 73 2e 20 20 |ate..Fra|ctals. |
|00004c50| 41 63 74 75 61 6c 6c 79 | 20 69 74 20 63 61 6c 63 |Actually| it calc|
|00004c60| 75 6c 61 74 65 73 20 61 | 6e 64 20 64 69 73 70 6c |ulates a|nd displ|
|00004c70| 61 79 73 20 74 68 65 20 | 4d 61 6e 64 65 6c 62 72 |ays the |Mandelbr|
|00004c80| 6f 74 20 73 65 74 20 77 | 68 69 63 68 20 69 73 0d |ot set w|hich is.|
|00004c90| 09 6e 6f 74 20 73 65 6c | 66 2d 73 69 6d 69 6c 61 |.not sel|f-simila|
|00004ca0| 72 20 73 6f 20 69 74 20 | 63 61 6e 6e 6f 74 20 72 |r so it |cannot r|
|00004cb0| 65 61 6c 6c 79 20 62 65 | 20 63 61 6c 6c 65 64 20 |eally be| called |
|00004cc0| 61 20 66 72 61 63 74 61 | 6c 2e 20 20 49 74 20 69 |a fracta|l. It i|
|00004cd0| 73 20 64 69 73 74 72 65 | 73 73 69 6e 67 20 74 6f |s distre|ssing to|
|00004ce0| 0d 09 61 64 64 20 74 6f | 20 74 68 65 20 63 6f 6e |..add to| the con|
|00004cf0| 66 75 73 69 6f 6e 20 61 | 73 20 74 6f 20 77 68 61 |fusion a|s to wha|
|00004d00| 74 20 66 72 61 63 74 61 | 6c 73 20 61 72 65 2c 20 |t fracta|ls are, |
|00004d10| 62 75 74 20 69 74 20 69 | 73 20 74 6f 6f 20 6c 61 |but it i|s too la|
|00004d20| 74 65 2e 20 20 46 6f 72 | 20 6d 6f 72 65 0d 09 69 |te. For| more..i|
|00004d30| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 46 72 |nformati|on on Fr|
|00004d40| 61 63 74 61 6c 73 20 61 | 6e 64 20 74 68 65 20 4d |actals a|nd the M|
|00004d50| 61 6e 64 65 6c 62 72 6f | 74 20 73 65 74 20 28 6e |andelbro|t set (n|
|00004d60| 6f 20 75 6d 6c 61 75 74 | 20 6f 6e 20 74 68 65 20 |o umlaut| on the |
|00004d70| 6f 29 2c 20 79 6f 75 0d | 09 63 6f 75 6c 64 20 73 |o), you.|.could s|
|00004d80| 65 65 20 4d 61 6e 64 65 | 6c 62 72 6f 74 d5 73 20 |ee Mande|lbrot.s |
|00004d90| 62 6f 6f 6b 20 d4 54 68 | 65 20 46 72 61 63 74 61 |book .Th|e Fracta|
|00004da0| 6c 20 47 65 6f 6d 65 74 | 72 79 20 6f 66 20 4e 61 |l Geomet|ry of Na|
|00004db0| 74 75 72 65 d5 2c 20 62 | 75 74 20 69 74 20 69 73 |ture., b|ut it is|
|00004dc0| 20 0d 09 70 72 65 74 74 | 79 20 6d 61 74 68 65 6d | ..prett|y mathem|
|00004dd0| 61 74 69 63 61 6c 20 61 | 6e 64 20 6e 6f 74 20 61 |atical a|nd not a|
|00004de0| 6c 6c 20 74 68 61 74 20 | 68 65 6c 70 66 75 6c 2e |ll that |helpful.|
|00004df0| 20 20 41 20 62 65 74 74 | 65 72 20 73 6f 75 72 63 | A bett|er sourc|
|00004e00| 65 20 69 73 20 74 68 65 | 0d 09 50 65 69 74 67 65 |e is the|..Peitge|
|00004e10| 6e 2d 52 69 63 68 74 65 | 72 20 62 6f 6f 6b 20 d4 |n-Richte|r book .|
|00004e20| 54 68 65 20 42 65 61 75 | 74 79 20 6f 66 20 46 72 |The Beau|ty of Fr|
|00004e30| 61 63 74 61 6c 73 d5 2c | 20 77 68 69 63 68 20 68 |actals.,| which h|
|00004e40| 61 73 20 61 20 64 6f 20 | 69 74 20 79 6f 75 72 73 |as a do |it yours|
|00004e50| 65 6c 66 0d 09 73 65 63 | 74 69 6f 6e 20 69 6e 20 |elf..sec|tion in |
|00004e60| 74 68 65 20 62 61 63 6b | 2e 0d 09 0d 09 54 68 65 |the back|.....The|
|00004e70| 20 70 72 6f 67 72 61 6d | 20 69 73 20 73 74 72 75 | program| is stru|
|00004e80| 63 74 75 72 65 64 20 70 | 72 69 6d 61 72 69 6c 79 |ctured p|rimarily|
|00004e90| 20 61 72 6f 75 6e 64 20 | 74 68 65 20 64 6f 63 75 | around |the docu|
|00004ea0| 6d 65 6e 74 2e 20 20 54 | 68 65 20 64 6f 63 75 6d |ment. T|he docum|
|00004eb0| 65 6e 74 20 69 73 0d 09 | 74 68 65 20 6f 62 6a 65 |ent is..|the obje|
|00004ec0| 63 74 20 74 6f 20 63 72 | 65 61 74 65 20 61 6e 64 |ct to cr|eate and|
|00004ed0| 20 6d 61 69 6e 74 61 69 | 6e 20 74 68 65 20 6f 66 | maintai|n the of|
|00004ee0| 66 73 63 72 65 65 6e 20 | 67 44 65 76 69 63 65 20 |fscreen |gDevice |
|00004ef0| 26 20 70 6f 72 74 2e 20 | 20 54 68 65 20 64 6f 63 |& port. | The doc|
|00004f00| 75 6d 65 6e 74 0d 09 63 | 6f 6e 76 65 72 74 73 20 |ument..c|onverts |
|00004f10| 74 68 65 20 6f 66 66 73 | 63 72 65 65 6e 20 64 61 |the offs|creen da|
|00004f20| 74 61 20 69 6e 74 6f 20 | 61 20 50 49 43 54 20 66 |ta into |a PICT f|
|00004f30| 69 6c 65 20 77 68 65 6e | 20 73 61 76 65 64 20 6f |ile when| saved o|
|00004f40| 72 20 72 65 73 74 6f 72 | 65 64 2e 20 20 54 68 65 |r restor|ed. The|
|00004f50| 0d 09 64 6f 63 75 6d 65 | 6e 74 20 61 6c 73 6f 20 |..docume|nt also |
|00004f60| 64 6f 65 73 20 74 68 65 | 20 63 61 6c 63 75 6c 61 |does the| calcula|
|00004f70| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 72 61 63 |tion of |the frac|
|00004f80| 74 61 6c 2c 20 6b 65 65 | 70 69 6e 67 20 74 68 65 |tal, kee|ping the|
|00004f90| 20 6f 66 66 73 63 72 65 | 65 6e 20 64 61 74 61 0d | offscre|en data.|
|00004fa0| 09 75 70 20 74 6f 20 64 | 61 74 61 20 61 73 20 69 |.up to d|ata as i|
|00004fb0| 74 20 67 6f 65 73 20 61 | 6c 6f 6e 67 2e 20 20 54 |t goes a|long. T|
|00004fc0| 68 65 20 76 69 65 77 20 | 6f 6e 6c 79 20 68 61 6e |he view |only han|
|00004fd0| 64 6c 65 73 20 74 61 6b | 69 6e 67 20 74 68 65 20 |dles tak|ing the |
|00004fe0| 64 6f 63 75 6d 65 6e 74 | 20 64 61 74 61 0d 09 61 |document| data..a|
|00004ff0| 6e 64 20 64 69 73 70 6c | 61 79 69 6e 67 20 69 74 |nd displ|aying it|
|00005000| 2e 0d 09 0d 09 46 6f 72 | 20 74 68 65 20 7a 6f 6f |.....For| the zoo|
|00005010| 6d 20 6f 70 65 72 61 74 | 69 6f 6e 2c 20 74 68 65 |m operat|ion, the|
|00005020| 72 65 20 77 61 73 20 6e | 6f 20 72 65 61 6c 6c 79 |re was n|o really|
|00005030| 20 67 72 65 61 74 20 77 | 61 79 20 74 6f 20 68 61 | great w|ay to ha|
|00005040| 6e 64 6c 65 20 74 68 65 | 20 6e 65 77 0d 09 64 6f |ndle the| new..do|
|00005050| 63 75 6d 65 6e 74 20 63 | 61 73 65 20 62 61 73 65 |cument c|ase base|
|00005060| 64 20 6f 6e 20 61 6e 6f | 74 68 65 72 20 64 6f 63 |d on ano|ther doc|
|00005070| 75 6d 65 6e 74 2e 20 20 | 54 68 69 73 20 69 73 20 |ument. |This is |
|00005080| 61 20 6c 69 74 74 6c 65 | 20 73 74 72 61 6e 67 65 |a little| strange|
|00005090| 20 74 6f 20 62 65 20 0d | 09 64 6f 69 6e 67 2c 20 | to be .|.doing, |
|000050a0| 61 6e 64 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |and the |structur|
|000050b0| 65 20 6f 66 20 4d 61 63 | 41 70 70 20 77 61 73 20 |e of Mac|App was |
|000050c0| 73 75 63 68 20 74 68 61 | 74 20 77 65 20 63 6f 75 |such tha|t we cou|
|000050d0| 6c 64 6e d5 74 20 67 65 | 74 20 74 6f 20 74 68 65 |ldn.t ge|t to the|
|000050e0| 20 0d 09 64 61 74 61 20 | 64 65 73 69 72 65 64 20 | ..data |desired |
|000050f0| 61 74 20 74 68 65 20 72 | 69 67 68 74 20 74 69 6d |at the r|ight tim|
|00005100| 65 2e 20 20 54 68 65 20 | 6c 6f 67 69 63 61 6c 20 |e. The |logical |
|00005110| 70 6c 61 63 65 20 74 6f | 20 70 75 74 20 69 74 20 |place to| put it |
|00005120| 69 6e 20 61 74 20 0d 09 | 44 6f 4d 61 6b 65 44 6f |in at ..|DoMakeDo|
|00005130| 63 75 6d 65 6e 74 20 77 | 61 73 20 74 6f 6f 20 65 |cument w|as too e|
|00005140| 61 72 6c 79 20 74 6f 20 | 68 61 76 65 20 74 68 65 |arly to |have the|
|00005150| 20 67 44 65 76 69 63 65 | 20 61 6c 6c 6f 63 61 74 | gDevice| allocat|
|00005160| 65 64 20 61 6e 64 20 72 | 65 61 64 79 0d 09 74 6f |ed and r|eady..to|
|00005170| 20 73 74 61 72 74 20 6d | 6f 72 65 20 73 74 75 66 | start m|ore stuf|
|00005180| 66 2e 20 20 54 68 65 20 | 70 72 6f 62 6c 65 6d 20 |f. The |problem |
|00005190| 77 61 73 20 72 65 73 6f | 6c 76 65 64 20 62 79 20 |was reso|lved by |
|000051a0| 75 73 69 6e 67 20 67 6c | 6f 62 61 6c 20 76 61 72 |using gl|obal var|
|000051b0| 69 61 62 6c 65 73 0d 09 | 74 6f 20 74 72 61 6e 73 |iables..|to trans|
|000051c0| 6d 69 74 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 |mit the |informat|
|000051d0| 69 6f 6e 20 74 6f 20 74 | 68 65 20 6f 74 68 65 72 |ion to t|he other|
|000051e0| 20 70 69 65 63 65 20 6f | 66 20 74 68 65 20 70 72 | piece o|f the pr|
|000051f0| 6f 67 72 61 6d 20 74 68 | 61 74 0d 09 6d 69 67 68 |ogram th|at..migh|
|00005200| 74 20 6e 65 65 64 20 69 | 74 2e 20 20 45 73 73 65 |t need i|t. Esse|
|00005210| 6e 74 69 61 6c 6c 79 20 | 44 6f 49 6e 69 74 69 61 |ntially |DoInitia|
|00005220| 6c 53 74 61 74 65 20 64 | 65 63 69 64 65 73 20 69 |lState d|ecides i|
|00005230| 66 20 74 68 69 73 20 69 | 73 20 61 20 62 72 61 6e |f this i|s a bran|
|00005240| 64 20 6e 65 77 0d 09 62 | 61 73 65 20 6c 65 76 65 |d new..b|ase leve|
|00005250| 6c 20 64 6f 63 75 6d 65 | 6e 74 20 6f 72 20 61 20 |l docume|nt or a |
|00005260| 7a 6f 6f 6d 20 69 6e 20 | 62 61 73 65 64 20 6f 6e |zoom in |based on|
|00005270| 20 74 68 65 20 73 74 61 | 74 65 20 6f 66 20 74 68 | the sta|te of th|
|00005280| 65 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |e global| variabl|
|00005290| 65 73 2e 0d 09 0d 09 57 | 68 65 6e 20 77 65 20 66 |es.....W|hen we f|
|000052a0| 65 65 6c 20 6f 62 6c 69 | 67 61 74 65 64 20 74 6f |eel obli|gated to|
|000052b0| 20 67 6f 20 77 68 61 70 | 20 6f 6e 20 61 20 6d 6f | go whap| on a mo|
|000052c0| 6e 69 74 6f 72 20 61 6e | 64 20 63 68 61 6e 67 65 |nitor an|d change|
|000052d0| 20 74 68 65 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 | the col|or table|
|000052e0| 2c 0d 09 77 65 20 75 73 | 65 20 61 20 73 70 65 63 |,..we us|e a spec|
|000052f0| 69 61 6c 20 54 4c 69 73 | 74 20 62 75 69 6c 74 20 |ial TLis|t built |
|00005300| 64 75 72 69 6e 67 20 74 | 68 65 20 49 46 72 61 63 |during t|he IFrac|
|00005310| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 20 54 68 |Applicat|ion. Th|
|00005320| 65 20 54 47 61 72 4c 69 | 73 74 20 69 73 0d 09 61 |e TGarLi|st is..a|
|00005330| 20 6c 69 73 74 20 6f 66 | 20 64 69 73 70 6c 61 79 | list of| display|
|00005340| 20 64 65 76 69 63 65 73 | 20 69 6e 20 74 68 65 20 | devices| in the |
|00005350| 73 79 73 74 65 6d 2e 20 | 20 57 68 65 6e 65 76 65 |system. | Wheneve|
|00005360| 72 20 77 65 20 6e 65 65 | 64 20 74 6f 20 64 6f 20 |r we nee|d to do |
|00005370| 73 6f 6d 65 74 68 69 6e | 67 0d 09 74 6f 20 61 20 |somethin|g..to a |
|00005380| 64 69 73 70 6c 61 79 20 | 64 65 76 69 63 65 20 77 |display |device w|
|00005390| 65 20 64 6f 20 61 6e 20 | 45 61 63 68 20 6f 70 65 |e do an |Each ope|
|000053a0| 72 61 74 69 6f 6e 20 61 | 6e 64 20 64 6f 20 69 74 |ration a|nd do it|
|000053b0| 20 74 6f 20 65 61 63 68 | 20 64 65 76 69 63 65 20 | to each| device |
|000053c0| 69 6e 20 74 68 65 0d 09 | 73 79 73 74 65 6d 2e 20 |in the..|system. |
|000053d0| 20 54 68 69 73 20 73 69 | 6d 70 6c 69 66 69 65 73 | This si|mplifies|
|000053e0| 20 74 68 65 20 68 61 6e | 64 6c 69 6e 67 20 6f 66 | the han|dling of|
|000053f0| 20 6d 75 6c 74 69 70 6c | 65 20 6d 6f 6e 69 74 6f | multipl|e monito|
|00005400| 72 73 20 64 72 61 6d 61 | 74 69 63 61 6c 6c 79 2e |rs drama|tically.|
|00005410| 0d 09 54 68 61 6e 6b 20 | 79 6f 75 20 4d 61 63 41 |..Thank |you MacA|
|00005420| 70 70 2c 20 74 68 69 73 | 20 69 73 20 63 6f 6f 6c |pp, this| is cool|
|00005430| 2e 20 20 54 68 65 20 47 | 61 72 44 65 76 69 63 65 |. The G|arDevice|
|00005440| 73 20 68 61 76 65 20 61 | 20 6e 75 6d 62 65 72 20 |s have a| number |
|00005450| 6f 66 20 6d 65 74 68 6f | 64 73 0d 09 74 68 61 74 |of metho|ds..that|
|00005460| 20 68 61 6e 64 6c 65 20 | 74 68 65 20 73 70 65 63 | handle |the spec|
|00005470| 69 61 6c 20 74 68 69 6e | 67 73 20 77 65 20 64 6f |ial thin|gs we do|
|00005480| 20 74 6f 20 74 68 65 20 | 67 44 65 76 69 63 65 73 | to the |gDevices|
|00005490| 20 69 6e 20 74 68 65 20 | 73 79 73 74 65 6d 2e 20 | in the |system. |
|000054a0| 20 57 68 65 6e 0d 09 74 | 68 65 20 50 61 6c 65 74 | When..t|he Palet|
|000054b0| 74 65 20 4d 61 6e 61 67 | 65 72 20 69 73 20 6d 6f |te Manag|er is mo|
|000054c0| 72 65 20 72 6f 62 75 73 | 74 2c 20 74 68 69 73 20 |re robus|t, this |
|000054d0| 47 61 72 44 65 76 69 63 | 65 20 6f 62 6a 65 63 74 |GarDevic|e object|
|000054e0| 20 63 61 6e 20 70 72 6f | 62 61 62 6c 79 0d 09 62 | can pro|bably..b|
|000054f0| 65 20 72 65 6d 6f 76 65 | 64 2c 20 73 69 6e 63 65 |e remove|d, since|
|00005500| 20 76 69 72 74 75 61 6c | 6c 79 20 61 6c 6c 20 6f | virtual|ly all o|
|00005510| 66 20 74 68 65 20 77 6f | 72 6b 20 64 6f 6e 65 20 |f the wo|rk done |
|00005520| 62 79 20 74 68 65 20 47 | 61 72 44 65 76 69 63 65 |by the G|arDevice|
|00005530| 20 61 72 65 20 74 68 69 | 6e 67 73 0d 09 74 68 61 | are thi|ngs..tha|
|00005540| 74 20 74 68 65 20 50 61 | 6c 65 74 74 65 20 4d 61 |t the Pa|lette Ma|
|00005550| 6e 61 67 65 72 20 77 69 | 6c 6c 20 68 61 6e 64 6c |nager wi|ll handl|
|00005560| 65 20 66 6f 72 20 75 73 | 2e 0d 09 0d 09 54 68 65 |e for us|.....The|
|00005570| 20 4d 61 63 41 70 70 20 | 6d 65 6d 6f 72 79 20 6d | MacApp |memory m|
|00005580| 61 6e 61 67 65 6d 65 6e | 74 20 61 70 70 72 6f 61 |anagemen|t approa|
|00005590| 63 68 20 69 73 20 75 73 | 65 64 20 61 73 20 77 65 |ch is us|ed as we|
|000055a0| 6c 6c 2e 20 20 54 68 65 | 20 62 69 67 20 70 69 65 |ll. The| big pie|
|000055b0| 63 65 73 0d 09 75 73 65 | 64 20 62 79 20 74 68 65 |ces..use|d by the|
|000055c0| 20 44 6f 63 75 6d 65 6e | 74 73 20 63 6f 6d 65 20 | Documen|ts come |
|000055d0| 6f 75 74 20 6f 66 20 70 | 65 72 6d 61 6e 65 6e 74 |out of p|ermanent|
|000055e0| 20 6d 65 6d 6f 72 79 2c | 20 68 65 6c 70 69 6e 67 | memory,| helping|
|000055f0| 20 74 6f 20 61 76 6f 69 | 64 0d 09 61 20 63 72 61 | to avoi|d..a cra|
|00005600| 73 68 20 66 72 6f 6d 20 | 6e 6f 20 6d 65 6d 6f 72 |sh from |no memor|
|00005610| 79 2e 20 20 57 68 65 6e | 20 77 65 20 61 6c 6c 6f |y. When| we allo|
|00005620| 63 61 74 65 20 73 6f 6d | 65 74 68 69 6e 67 20 74 |cate som|ething t|
|00005630| 68 61 74 20 77 69 6c 6c | 20 62 65 20 74 68 72 6f |hat will| be thro|
|00005640| 77 6e 0d 09 61 77 61 79 | 20 69 6d 6d 65 64 69 61 |wn..away| immedia|
|00005650| 74 65 6c 79 2c 20 6c 69 | 6b 65 20 61 20 73 70 61 |tely, li|ke a spa|
|00005660| 72 65 20 63 6f 6c 6f 72 | 20 74 61 62 6c 65 20 6f |re color| table o|
|00005670| 72 20 73 6f 6d 65 74 68 | 69 6e 67 2c 20 69 74 20 |r someth|ing, it |
|00005680| 6f 66 20 63 6f 75 72 73 | 65 0d 09 63 6f 6d 65 73 |of cours|e..comes|
|00005690| 20 6f 75 74 20 6f 66 20 | 6e 6f 72 6d 61 6c 20 6d | out of |normal m|
|000056a0| 65 6d 6f 72 79 2e 20 20 | 57 65 20 64 69 64 20 6e |emory. |We did n|
|000056b0| 6f 74 20 64 6f 20 61 20 | 66 75 6c 6c 20 62 6c 6f |ot do a |full blo|
|000056c0| 77 6e 20 6d 65 6d 6f 72 | 79 20 61 6e 61 6c 79 73 |wn memor|y analys|
|000056d0| 69 73 0d 09 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |is..of t|he progr|
|000056e0| 61 6d 20 73 69 6e 63 65 | 20 69 74 20 69 73 20 73 |am since| it is s|
|000056f0| 75 63 68 20 61 20 6d 65 | 6d 6f 72 79 20 68 6f 67 |uch a me|mory hog|
|00005700| 20 61 6e 79 77 61 79 2e | 20 20 54 68 65 20 6d 65 | anyway.| The me|
|00005710| 6d 21 20 72 65 73 6f 75 | 72 63 65 0d 09 69 73 20 |m! resou|rce..is |
|00005720| 73 65 74 20 75 70 20 69 | 6e 20 61 20 66 6f 72 6d |set up i|n a form|
|00005730| 20 74 68 61 74 20 69 73 | 20 72 6f 75 67 68 6c 79 | that is| roughly|
|00005740| 20 63 6c 6f 73 65 20 28 | 61 20 62 69 74 20 68 69 | close (|a bit hi|
|00005750| 67 68 29 20 77 69 74 68 | 6f 75 74 20 74 72 79 69 |gh) with|out tryi|
|00005760| 6e 67 20 74 6f 20 62 65 | 0d 09 65 78 74 72 61 20 |ng to be|..extra |
|00005770| 61 63 63 75 72 61 74 65 | 2e 20 20 57 68 65 6e 20 |accurate|. When |
|00005780| 61 20 64 6f 63 75 6d 65 | 6e 74 20 74 61 6b 65 73 |a docume|nt takes|
|00005790| 20 34 30 30 4b 20 6f 66 | 20 52 41 4d 20 74 6f 20 | 400K of| RAM to |
|000057a0| 6f 70 65 6e 20 69 74 20 | 68 61 72 64 6c 79 20 0d |open it |hardly .|
|000057b0| 09 73 65 65 6d 73 20 72 | 65 6c 65 76 61 6e 74 20 |.seems r|elevant |
|000057c0| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 65 |to make |sure the|
|000057d0| 20 6d 65 6d 21 20 69 73 | 20 61 63 63 75 72 61 74 | mem! is| accurat|
|000057e0| 65 20 74 6f 20 32 4b 2e | 20 20 42 65 63 61 75 73 |e to 2K.| Becaus|
|000057f0| 65 20 6f 66 20 74 68 69 | 73 0d 09 73 6f 6d 65 77 |e of thi|s..somew|
|00005800| 68 61 74 20 63 61 76 61 | 6c 69 65 72 20 61 70 70 |hat cava|lier app|
|00005810| 72 6f 61 63 68 20 79 6f | 75 20 6d 61 79 20 6e 6f |roach yo|u may no|
|00005820| 74 20 62 65 20 61 62 6c | 65 20 74 6f 20 6f 70 65 |t be abl|e to ope|
|00005830| 6e 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 69 6e 0d |n a docu|ment in.|
|00005840| 09 61 20 66 65 77 20 63 | 61 73 65 73 20 77 68 65 |.a few c|ases whe|
|00005850| 72 65 20 79 6f 75 20 72 | 65 61 6c 6c 79 20 73 68 |re you r|eally sh|
|00005860| 6f 75 6c 64 20 62 65 20 | 61 62 6c 65 20 74 6f 2e |ould be |able to.|
|00005870| 20 20 54 68 65 20 6d 65 | 6d 21 20 69 6e 20 75 73 | The me|m! in us|
|00005880| 65 20 6f 66 20 34 30 4b | 0d 09 69 73 20 63 6c 6f |e of 40K|..is clo|
|00005890| 73 65 20 77 69 74 68 20 | 61 20 2b 32 4b 2f 2d 31 |se with |a +2K/-1|
|000058a0| 30 4b 20 65 72 72 6f 72 | 20 6f 6e 20 68 6f 77 20 |0K error| on how |
|000058b0| 62 69 67 20 69 74 20 73 | 68 6f 75 6c 64 20 72 65 |big it s|hould re|
|000058c0| 61 6c 6c 79 20 62 65 2e | 0d 09 0d 09 54 68 65 20 |ally be.|....The |
|000058d0| 51 75 69 63 6b 44 72 61 | 77 20 42 6f 74 74 6c 65 |QuickDra|w Bottle|
|000058e0| 4e 65 63 6b 73 20 61 72 | 65 20 75 73 65 64 20 74 |Necks ar|e used t|
|000058f0| 6f 20 62 6f 74 68 20 72 | 65 61 64 20 61 6e 64 20 |o both r|ead and |
|00005900| 77 72 69 74 65 20 74 68 | 65 20 61 63 74 75 61 6c |write th|e actual|
|00005910| 0d 09 66 72 61 63 74 61 | 6c 20 64 61 74 61 20 66 |..fracta|l data f|
|00005920| 72 6f 6d 2f 74 6f 20 74 | 68 65 20 64 69 73 6b 2e |rom/to t|he disk.|
|00005930| 20 20 54 68 69 73 20 69 | 73 20 64 6f 6e 65 20 73 | This i|s done s|
|00005940| 69 6e 63 65 20 74 68 65 | 20 64 61 74 61 20 69 6e |ince the| data in|
|00005950| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 0d 09 6d | the doc|ument..m|
|00005960| 61 79 20 62 65 20 76 65 | 72 79 20 6c 61 72 67 65 |ay be ve|ry large|
|00005970| 20 28 31 30 30 4b 29 20 | 61 6e 64 20 69 66 20 77 | (100K) |and if w|
|00005980| 65 20 6a 75 73 74 20 73 | 70 6f 6f 6c 20 74 68 65 |e just s|pool the|
|00005990| 20 64 61 74 61 20 66 72 | 6f 6d 20 74 68 65 20 66 | data fr|om the f|
|000059a0| 69 6c 65 0d 09 77 65 20 | 64 6f 6e 27 74 20 61 63 |ile..we |don't ac|
|000059b0| 74 75 61 6c 6c 79 20 68 | 61 76 65 20 74 6f 20 75 |tually h|ave to u|
|000059c0| 73 65 20 74 68 61 74 20 | 65 78 74 72 61 20 68 75 |se that |extra hu|
|000059d0| 6e 6b 20 6f 66 20 6d 65 | 6d 6f 72 79 2e 20 20 57 |nk of me|mory. W|
|000059e0| 65 20 68 61 76 65 20 74 | 6f 20 72 65 61 64 0d 09 |e have t|o read..|
|000059f0| 74 68 65 20 64 61 74 61 | 20 61 6e 79 77 61 79 2c |the data| anyway,|
|00005a00| 20 73 6f 20 77 65 20 67 | 6f 20 61 68 65 61 64 20 | so we g|o ahead |
|00005a10| 61 6e 64 20 6a 75 73 74 | 20 72 65 61 64 20 69 74 |and just| read it|
|00005a20| 20 69 6e 20 61 73 20 77 | 65 20 70 6c 61 79 20 69 | in as w|e play i|
|00005a30| 74 20 62 61 63 6b 2e 0d | 09 41 73 20 69 74 20 69 |t back..|.As it i|
|00005a40| 73 20 70 6c 61 79 65 64 | 20 62 61 63 6b 20 69 74 |s played| back it|
|00005a50| 20 67 6f 65 73 20 69 6e | 74 6f 20 74 68 65 20 6f | goes in|to the o|
|00005a60| 66 66 73 63 72 65 65 6e | 20 67 44 65 76 69 63 65 |ffscreen| gDevice|
|00005a70| 27 73 20 70 69 78 4d 61 | 70 2c 20 73 6f 20 77 65 |'s pixMa|p, so we|
|00005a80| 0d 09 68 61 76 65 20 74 | 68 65 20 64 61 74 61 20 |..have t|he data |
|00005a90| 74 6f 20 64 69 73 70 6c | 61 79 2e 20 20 4e 6f 20 |to displ|ay. No |
|00005aa0| 6d 65 6d 6f 72 79 20 68 | 69 74 20 66 6f 72 20 74 |memory h|it for t|
|00005ab0| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 69 73 20 61 |he docum|ent is a|
|00005ac0| 20 62 69 67 20 77 69 6e | 2e 0d 09 57 68 65 6e 20 | big win|...When |
|00005ad0| 77 72 69 74 69 6e 67 20 | 74 68 65 20 64 61 74 61 |writing |the data|
|00005ae0| 2c 20 74 68 65 20 73 61 | 6d 65 20 74 68 69 6e 67 |, the sa|me thing|
|00005af0| 20 69 73 20 74 72 75 65 | 20 73 6f 20 77 65 20 64 | is true| so we d|
|00005b00| 6f 6e 27 74 20 68 61 76 | 65 20 74 6f 20 68 61 76 |on't hav|e to hav|
|00005b10| 65 0d 09 61 20 68 75 67 | 65 20 68 61 6e 64 6c 65 |e..a hug|e handle|
|00005b20| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 20 70 69 63 | to hold| the pic|
|00005b30| 74 75 72 65 20 64 61 74 | 61 20 69 74 73 65 6c 66 |ture dat|a itself|
|00005b40| 2e 20 20 57 65 20 61 6c | 73 6f 20 61 76 6f 69 64 |. We al|so avoid|
|00005b50| 20 74 68 65 20 70 72 6f | 62 6c 65 6d 0d 09 6f 66 | the pro|blem..of|
|00005b60| 20 6e 6f 74 20 68 61 76 | 69 6e 67 20 65 6e 6f 75 | not hav|ing enou|
|00005b70| 67 68 20 6d 65 6d 6f 72 | 79 20 74 6f 20 63 72 65 |gh memor|y to cre|
|00005b80| 61 74 65 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ate the |picture |
|00005b90| 69 6e 20 74 68 65 20 66 | 69 72 73 74 20 70 6c 61 |in the f|irst pla|
|00005ba0| 63 65 2c 0d 09 6d 61 6b | 69 6e 67 20 61 20 64 6f |ce,..mak|ing a do|
|00005bb0| 63 75 6d 65 6e 74 20 75 | 6e 73 61 76 65 61 62 6c |cument u|nsaveabl|
|00005bc0| 65 2e 20 20 54 68 61 74 | 20 69 73 20 70 61 72 74 |e. That| is part|
|00005bd0| 69 63 75 61 6c 61 72 6c | 79 20 61 6e 6e 6f 79 69 |icualarl|y annoyi|
|00005be0| 6e 67 2c 20 61 6e 64 0d | 09 69 73 20 65 61 73 79 |ng, and.|.is easy|
|00005bf0| 20 74 6f 20 61 76 6f 69 | 64 20 75 73 69 6e 67 20 | to avoi|d using |
|00005c00| 74 68 65 20 73 70 6f 6f | 6c 69 6e 67 20 61 70 70 |the spoo|ling app|
|00005c10| 72 6f 61 63 68 2e 20 0d | 09 0d 09 57 68 69 6c 65 |roach. .|...While|
|00005c20| 20 69 6e 20 74 68 65 20 | 66 6f 72 65 67 72 6f 75 | in the |foregrou|
|00005c30| 6e 64 20 77 65 20 73 65 | 74 20 74 68 65 20 63 6f |nd we se|t the co|
|00005c40| 6c 6f 72 20 74 61 62 6c | 65 20 74 6f 20 62 65 20 |lor tabl|e to be |
|00005c50| 6f 75 72 20 73 70 65 63 | 69 61 6c 20 73 65 74 20 |our spec|ial set |
|00005c60| 6f 66 20 0d 09 63 6f 6c | 6f 72 73 2c 20 6d 61 6b |of ..col|ors, mak|
|00005c70| 69 6e 67 20 74 68 65 20 | 64 69 73 70 6c 61 79 20 |ing the |display |
|00005c80| 61 73 20 67 6f 6f 64 20 | 61 73 20 77 65 20 63 61 |as good |as we ca|
|00005c90| 6e 20 67 65 74 20 69 74 | 20 66 6f 72 20 75 73 2e |n get it| for us.|
|00005ca0| 20 20 54 68 69 73 20 68 | 61 73 20 74 68 65 0d 09 | This h|as the..|
|00005cb0| 73 69 64 65 20 65 66 66 | 65 63 74 20 6f 66 20 6d |side eff|ect of m|
|00005cc0| 61 6b 69 6e 67 20 70 72 | 6f 67 72 61 6d 73 20 69 |aking pr|ograms i|
|00005cd0| 6e 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |n the ba|ckground|
|00005ce0| 20 63 68 61 6e 67 65 2e | 20 20 57 68 65 6e 20 77 | change.| When w|
|00005cf0| 65 20 61 72 65 20 0d 09 | 69 6e 20 74 68 65 20 62 |e are ..|in the b|
|00005d00| 61 63 6b 67 72 6f 75 6e | 64 20 77 65 20 6d 61 6b |ackgroun|d we mak|
|00005d10| 65 20 6e 6f 20 63 6c 61 | 69 6d 73 20 6f 6e 20 74 |e no cla|ims on t|
|00005d20| 68 65 20 63 6f 6c 6f 72 | 20 74 61 62 6c 65 2e 20 |he color| table. |
|00005d30| 20 57 65 20 64 6f 6e d5 | 74 20 62 6f 74 68 65 72 | We don.|t bother|
|00005d40| 20 0d 09 74 6f 20 50 72 | 6f 74 65 63 74 20 65 6e | ..to Pr|otect en|
|00005d50| 74 72 69 65 73 2c 20 62 | 75 74 20 77 65 20 52 65 |tries, b|ut we Re|
|00005d60| 73 65 72 76 65 20 74 68 | 65 20 65 6e 74 72 69 65 |serve th|e entrie|
|00005d70| 73 20 73 6f 20 74 68 61 | 74 20 43 6f 6c 6f 72 32 |s so tha|t Color2|
|00005d80| 49 6e 64 65 78 0d 09 77 | 69 6c 6c 20 66 69 6e 64 |Index..w|ill find|
|00005d90| 20 63 6f 6c 6f 72 73 20 | 6f 74 68 65 72 20 74 68 | colors |other th|
|00005da0| 61 6e 20 74 68 65 20 61 | 6e 69 6d 61 74 69 6e 67 |an the a|nimating|
|00005db0| 20 6f 6e 65 73 20 77 65 | 20 61 72 65 20 75 73 69 | ones we| are usi|
|00005dc0| 6e 67 2e 20 20 54 68 69 | 73 20 69 73 0d 09 73 70 |ng. Thi|s is..sp|
|00005dd0| 65 63 69 66 69 63 61 6c | 6c 79 20 74 6f 20 6d 61 |ecifical|ly to ma|
|00005de0| 6b 65 20 74 68 65 20 41 | 70 70 6c 65 20 4d 65 6e |ke the A|pple Men|
|00005df0| 75 20 6c 6f 6f 6b 20 63 | 6f 72 72 65 63 74 2c 20 |u look c|orrect, |
|00005e00| 62 75 74 20 77 69 6c 6c | 20 61 6c 73 6f 20 68 65 |but will| also he|
|00005e10| 6c 70 0d 09 74 68 65 20 | 70 72 6f 67 72 61 6d 73 |lp..the |programs|
|00005e20| 20 69 6e 20 74 68 65 20 | 62 61 63 6b 67 72 6f 75 | in the |backgrou|
|00005e30| 6e 64 20 74 6f 20 61 76 | 6f 69 64 20 68 61 76 69 |nd to av|oid havi|
|00005e40| 6e 67 20 74 68 65 6d 20 | 61 6e 69 6d 61 74 65 20 |ng them |animate |
|00005e50| 77 68 65 6e 0d 09 77 65 | 20 61 72 65 20 69 6e 20 |when..we| are in |
|00005e60| 74 68 65 20 66 72 6f 6e | 74 2e 20 20 57 68 65 6e |the fron|t. When|
|00005e70| 20 74 68 65 79 20 61 72 | 65 20 72 65 64 72 61 77 | they ar|e redraw|
|00005e80| 6e 2c 20 74 68 65 79 20 | 77 69 6c 6c 20 75 73 65 |n, they |will use|
|00005e90| 20 74 68 65 20 6e 6f 6e | 2d 0d 09 61 6e 69 6d 61 | the non|-..anima|
|00005ea0| 74 69 6e 67 20 65 6e 74 | 72 69 65 73 20 6f 75 74 |ting ent|ries out|
|00005eb0| 20 6f 66 20 74 68 65 20 | 63 6f 6c 6f 72 20 74 61 | of the |color ta|
|00005ec0| 62 6c 65 2e 20 20 41 67 | 61 69 6e 2c 20 69 6e 20 |ble. Ag|ain, in |
|00005ed0| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 09 |the back|ground..|
|00005ee0| 77 65 20 6d 61 6b 65 20 | 6e 6f 20 63 6c 61 69 6d |we make |no claim|
|00005ef0| 73 2c 20 73 6f 20 61 6e | 79 20 63 6f 6c 6f 72 20 |s, so an|y color |
|00005f00| 69 6e 20 74 68 65 20 74 | 61 62 6c 65 20 69 73 20 |in the t|able is |
|00005f10| 61 76 61 69 6c 61 62 6c | 65 20 66 6f 72 20 75 73 |availabl|e for us|
|00005f20| 65 2e 0d 09 0d 09 57 69 | 74 68 20 74 68 61 6e 6b |e.....Wi|th thank|
|00005f30| 73 20 74 6f 20 53 6b 69 | 70 70 79 20 42 6c 61 69 |s to Ski|ppy Blai|
|00005f40| 72 20 66 6f 72 20 74 68 | 65 20 64 69 73 63 75 73 |r for th|e discus|
|00005f50| 73 69 6f 6e 73 20 6f 66 | 20 63 6f 6c 6f 72 20 51 |sions of| color Q|
|00005f60| 75 69 63 6b 44 72 61 77 | 20 61 6e 64 20 74 68 65 |uickDraw| and the|
|00005f70| 20 0d 09 50 61 6c 65 74 | 74 65 20 4d 61 6e 61 67 | ..Palet|te Manag|
|00005f80| 65 72 2e 20 20 54 68 61 | 6e 6b 73 20 74 6f 20 44 |er. Tha|nks to D|
|00005f90| 61 72 69 6e 20 41 64 6c | 65 72 20 66 6f 72 20 66 |arin Adl|er for f|
|00005fa0| 75 72 74 68 65 72 20 64 | 69 73 63 75 73 73 69 6f |urther d|iscussio|
|00005fb0| 6e 20 6f 66 20 74 68 65 | 20 50 61 6c 65 74 74 65 |n of the| Palette|
|00005fc0| 0d 09 4d 61 6e 61 67 65 | 72 20 61 6e 64 20 66 6f |..Manage|r and fo|
|00005fd0| 72 20 67 6f 6f 64 20 73 | 75 67 67 65 73 74 69 6f |r good s|uggestio|
|00005fe0| 6e 73 20 6f 6e 20 6d 61 | 6b 69 6e 67 20 69 74 20 |ns on ma|king it |
|00005ff0| 6d 6f 72 65 20 4d 61 63 | 41 70 70 20 66 72 69 65 |more Mac|App frie|
|00006000| 6e 64 6c 79 2e 0d 09 54 | 68 61 6e 6b 73 20 74 6f |ndly...T|hanks to|
|00006010| 6f 20 74 6f 20 44 61 76 | 65 20 4d 63 47 61 72 79 |o to Dav|e McGary|
|00006020| 20 66 6f 72 20 74 68 65 | 20 64 69 73 63 75 73 73 | for the| discuss|
|00006030| 69 6f 6e 20 6f 6e 20 63 | 6f 6c 6f 72 20 6d 61 70 |ion on c|olor map|
|00006040| 70 69 6e 67 20 69 6e 20 | 6f 74 68 65 72 20 74 68 |ping in |other th|
|00006050| 61 6e 20 32 35 36 0d 09 | 63 6f 6c 6f 72 20 6d 6f |an 256..|color mo|
|00006060| 64 65 2c 20 61 6e 64 20 | 66 6f 72 20 63 6f 6d 69 |de, and |for comi|
|00006070| 6e 67 20 75 70 20 77 69 | 74 68 20 74 68 65 20 73 |ng up wi|th the s|
|00006080| 6f 6c 75 74 69 6f 6e 20 | 74 6f 20 75 73 65 20 61 |olution |to use a|
|00006090| 20 4d 4f 44 20 6f 72 20 | 44 49 56 20 74 6f 20 77 | MOD or |DIV to w|
|000060a0| 72 61 70 0d 09 74 68 65 | 20 65 78 63 65 73 73 20 |rap..the| excess |
|000060b0| 63 6f 6c 6f 72 73 20 61 | 72 6f 75 6e 64 2c 20 6d |colors a|round, m|
|000060c0| 61 6b 69 6e 67 20 69 74 | 20 63 6f 6d 65 20 6f 75 |aking it| come ou|
|000060d0| 74 20 69 6e 20 74 68 65 | 20 73 74 72 69 70 65 73 |t in the| stripes|
|000060e0| 20 77 68 65 6e 20 6e 6f | 74 20 65 6e 6f 75 67 68 | when no|t enough|
|000060f0| 0d 09 63 6f 6c 6f 72 73 | 20 61 72 65 20 61 76 61 |..colors| are ava|
|00006100| 69 6c 61 62 6c 65 2e 0d | 09 7d 0d 09 0d 0d 09 7b |ilable..|.}.....{|
|00006110| 20 47 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | Global |variable|
|00006120| 73 2e 20 20 7d 0d 56 41 | 52 0d 09 67 52 6f 74 61 |s. }.VA|R..gRota|
|00006130| 74 65 4f 6e 3a 09 09 09 | 42 4f 4f 4c 45 41 4e 3b |teOn:...|BOOLEAN;|
|00006140| 09 09 09 09 7b 20 77 68 | 65 74 68 65 72 20 77 65 |....{ wh|ether we|
|00006150| 20 61 72 65 20 63 6f 6c | 6f 72 20 61 6e 69 6d 61 | are col|or anima|
|00006160| 74 69 6e 67 20 6f 72 20 | 6e 6f 74 2e 20 7d 0d 09 |ting or |not. }..|
|00006170| 67 53 74 61 67 67 65 72 | 43 6f 75 6e 74 3a 20 09 |gStagger|Count: .|
|00006180| 49 4e 54 45 47 45 52 3b | 09 09 09 09 7b 20 66 6f |INTEGER;|....{ fo|
|00006190| 72 20 73 74 61 67 67 65 | 72 69 6e 67 20 77 69 6e |r stagge|ring win|
|000061a0| 64 6f 77 73 2e 20 7d 0d | 09 67 47 61 72 4c 69 73 |dows. }.|.gGarLis|
|000061b0| 74 3a 09 09 09 09 54 4c | 69 73 74 3b 09 09 09 09 |t:....TL|ist;....|
|000061c0| 09 7b 20 4c 69 73 74 20 | 6f 66 20 67 44 65 76 69 |.{ List |of gDevi|
|000061d0| 63 65 73 20 69 6e 20 73 | 79 73 74 65 6d 2e 20 7d |ces in s|ystem. }|
|000061e0| 0d 09 67 42 61 63 6b 47 | 72 6f 75 6e 64 3a 09 09 |..gBackG|round:..|
|000061f0| 42 6f 6f 6c 65 61 6e 3b | 09 09 09 09 7b 20 66 6c |Boolean;|....{ fl|
|00006200| 61 67 20 69 66 20 77 65 | 20 61 72 65 20 69 6e 20 |ag if we| are in |
|00006210| 62 61 63 6b 67 72 6f 75 | 6e 64 20 6f 72 20 6e 6f |backgrou|nd or no|
|00006220| 74 2e 20 7d 0d 09 67 4f | 75 72 43 6f 6c 6f 72 73 |t. }..gO|urColors|
|00006230| 3a 09 09 09 43 54 61 62 | 48 61 6e 64 6c 65 3b 09 |:...CTab|Handle;.|
|00006240| 09 09 7b 20 63 6f 6c 6f | 72 20 74 61 62 6c 65 20 |..{ colo|r table |
|00006250| 77 65 20 75 73 65 20 61 | 73 20 61 20 73 6f 75 72 |we use a|s a sour|
|00006260| 63 65 20 66 6f 72 20 64 | 6f 63 75 6d 65 6e 74 73 |ce for d|ocuments|
|00006270| 2e 20 7d 0d 09 67 52 65 | 61 6c 4d 69 6e 2c 0d 09 |. }..gRe|alMin,..|
|00006280| 67 52 65 61 6c 4d 61 78 | 2c 0d 09 67 49 6d 61 67 |gRealMax|,..gImag|
|00006290| 4d 69 6e 2c 0d 09 67 49 | 6d 61 67 4d 61 78 3a 09 |Min,..gI|magMax:.|
|000062a0| 09 09 45 78 74 65 6e 64 | 65 64 3b 09 09 09 09 7b |..Extend|ed;....{|
|000062b0| 20 75 73 65 64 20 66 6f | 72 20 7a 6f 6f 6d 69 6e | used fo|r zoomin|
|000062c0| 67 20 69 6e 20 6f 70 65 | 72 61 74 69 6f 6e 2e 20 |g in ope|ration. |
|000062d0| 7d 0d 09 09 0d 09 09 7b | 20 54 68 65 20 6e 65 78 |}......{| The nex|
|000062e0| 74 20 67 6c 6f 62 61 6c | 73 20 61 72 65 20 75 73 |t global|s are us|
|000062f0| 65 64 20 66 6f 72 20 74 | 68 65 20 51 75 69 63 6b |ed for t|he Quick|
|00006300| 44 72 61 77 20 62 6f 74 | 74 6c 65 6e 65 63 6b 73 |Draw bot|tlenecks|
|00006310| 20 77 68 65 6e 20 72 65 | 61 64 69 6e 67 20 6f 72 | when re|ading or|
|00006320| 0d 09 09 09 77 72 69 74 | 69 6e 67 20 61 20 70 69 |....writ|ing a pi|
|00006330| 63 74 75 72 65 20 74 6f | 20 64 69 73 6b 2e 20 20 |cture to| disk. |
|00006340| 54 68 65 73 65 20 61 72 | 65 20 6e 65 65 64 65 64 |These ar|e needed|
|00006350| 2c 20 73 69 6e 63 65 20 | 74 68 65 20 62 6f 74 74 |, since |the bott|
|00006360| 6c 65 6e 65 63 6b 73 20 | 63 61 6e 6e 6f 74 0d 09 |lenecks |cannot..|
|00006370| 09 09 62 65 20 6f 77 6e | 65 64 20 70 72 6f 63 65 |..be own|ed proce|
|00006380| 64 75 72 65 73 2e 20 7d | 0d 09 67 50 69 63 74 53 |dures. }|..gPictS|
|00006390| 69 7a 65 3a 09 09 09 4c | 6f 6e 67 49 6e 74 3b 09 |ize:...L|ongInt;.|
|000063a0| 09 09 09 7b 20 6e 75 6d | 62 65 72 20 6f 66 20 62 |...{ num|ber of b|
|000063b0| 79 74 65 73 20 75 73 65 | 64 20 66 6f 72 20 73 61 |ytes use|d for sa|
|000063c0| 76 69 6e 67 20 61 20 50 | 49 43 54 2e 20 7d 0d 09 |ving a P|ICT. }..|
|000063d0| 67 50 69 63 74 45 72 72 | 6f 72 3a 09 09 09 4f 53 |gPictErr|or:...OS|
|000063e0| 45 72 72 3b 09 09 09 09 | 09 7b 20 64 6f 20 73 6f |Err;....|.{ do so|
|000063f0| 6d 65 20 65 72 72 6f 72 | 20 68 61 6e 64 6c 69 6e |me error| handlin|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.